#[repr(C)]pub struct rc_buffer_t {
pub chunk: rc_buffer_chunk_t,
pub data: [u8; 256],
}Expand description
A preallocated block of memory for variable length data (like strings and arrays).
Fields§
§chunk: rc_buffer_chunk_t§data: [u8; 256]Trait Implementations§
Source§impl Clone for rc_buffer_t
impl Clone for rc_buffer_t
Source§fn clone(&self) -> rc_buffer_t
fn clone(&self) -> rc_buffer_t
Returns a duplicate 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 rc_buffer_t
impl Debug for rc_buffer_t
impl Copy for rc_buffer_t
Auto Trait Implementations§
impl Freeze for rc_buffer_t
impl RefUnwindSafe for rc_buffer_t
impl !Send for rc_buffer_t
impl !Sync for rc_buffer_t
impl Unpin for rc_buffer_t
impl UnwindSafe for rc_buffer_t
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