#[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
sourceimpl 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
sourceimpl Clone for cbb_buffer_st
impl Clone for cbb_buffer_st
sourcefn clone(&self) -> cbb_buffer_st
fn clone(&self) -> cbb_buffer_st
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for cbb_buffer_st
impl Debug for cbb_buffer_st
sourceimpl Default for cbb_buffer_st
impl Default for cbb_buffer_st
sourceimpl PartialEq<cbb_buffer_st> for cbb_buffer_st
impl PartialEq<cbb_buffer_st> for cbb_buffer_st
sourcefn eq(&self, other: &cbb_buffer_st) -> bool
fn eq(&self, other: &cbb_buffer_st) -> bool
impl Copy for cbb_buffer_st
impl Eq for cbb_buffer_st
impl StructuralEq for cbb_buffer_st
impl StructuralPartialEq for cbb_buffer_st
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more