#[repr(C)]pub struct rcutils_char_array_s {
pub buffer: *mut c_char,
pub owns_buffer: bool,
pub buffer_length: usize,
pub buffer_capacity: usize,
pub allocator: rcutils_allocator_t,
}
Fields§
§buffer: *mut c_char
§owns_buffer: bool
§buffer_length: usize
§buffer_capacity: usize
§allocator: rcutils_allocator_t
Trait Implementations§
Source§impl Clone for rcutils_char_array_s
impl Clone for rcutils_char_array_s
Source§fn clone(&self) -> rcutils_char_array_s
fn clone(&self) -> rcutils_char_array_s
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for rcutils_char_array_s
impl Debug for rcutils_char_array_s
Source§impl PartialEq for rcutils_char_array_s
impl PartialEq for rcutils_char_array_s
impl Copy for rcutils_char_array_s
impl StructuralPartialEq for rcutils_char_array_s
Auto Trait Implementations§
impl Freeze for rcutils_char_array_s
impl RefUnwindSafe for rcutils_char_array_s
impl !Send for rcutils_char_array_s
impl !Sync for rcutils_char_array_s
impl Unpin for rcutils_char_array_s
impl UnwindSafe for rcutils_char_array_s
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more