#[repr(C)]pub struct cbb_buffer_st {
pub buf: *mut u8,
pub len: usize,
pub cap: usize,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}
Fields§
§buf: *mut u8
§len: usize
§cap: usize
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 7]
Implementations§
Source§impl cbb_buffer_st
impl cbb_buffer_st
pub fn can_resize(&self) -> c_uint
pub fn set_can_resize(&mut self, val: c_uint)
pub fn error(&self) -> c_uint
pub fn set_error(&mut self, val: c_uint)
pub fn new_bitfield_1( can_resize: c_uint, error: c_uint, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for cbb_buffer_st
impl Clone for cbb_buffer_st
Source§fn clone(&self) -> cbb_buffer_st
fn clone(&self) -> cbb_buffer_st
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 cbb_buffer_st
impl Debug for cbb_buffer_st
Source§impl Default for cbb_buffer_st
impl Default for cbb_buffer_st
Source§impl PartialEq for cbb_buffer_st
impl PartialEq for cbb_buffer_st
impl Copy for cbb_buffer_st
impl Eq for cbb_buffer_st
impl StructuralPartialEq for cbb_buffer_st
Auto Trait Implementations§
impl Freeze for cbb_buffer_st
impl RefUnwindSafe for cbb_buffer_st
impl !Send for cbb_buffer_st
impl !Sync for cbb_buffer_st
impl Unpin for cbb_buffer_st
impl UnwindSafe for cbb_buffer_st
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