Struct aws_lc_sys::cbb_buffer_st
source · #[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<cbb_buffer_st> for cbb_buffer_st
impl PartialEq<cbb_buffer_st> for cbb_buffer_st
source§fn eq(&self, other: &cbb_buffer_st) -> bool
fn eq(&self, other: &cbb_buffer_st) -> bool
This method tests for
self and other values to be equal, and is used
by ==.