#[repr(C)]pub struct vec_header_t<FAM: ?Sized = [u8_; 0]> {
pub len: u32_,
pub hdr_size: u8_,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub grow_elts: u8_,
pub vpad: [u8_; 1],
pub vector_data: FAM,
}Fields§
§len: u32_§hdr_size: u8_§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§grow_elts: u8_§vpad: [u8_; 1]§vector_data: FAMImplementations§
Source§impl vec_header_t<[u8_; 0]>
impl vec_header_t<[u8_; 0]>
pub fn log2_align(&self) -> u8_
pub fn set_log2_align(&mut self, val: u8_)
pub unsafe fn log2_align_raw(this: *const Self) -> u8_
pub unsafe fn set_log2_align_raw(this: *mut Self, val: u8_)
pub fn default_heap(&self) -> u8_
pub fn set_default_heap(&mut self, val: u8_)
pub unsafe fn default_heap_raw(this: *const Self) -> u8_
pub unsafe fn set_default_heap_raw(this: *mut Self, val: u8_)
pub fn new_bitfield_1( log2_align: u8_, default_heap: u8_, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Auto Trait Implementations§
impl<FAM> Freeze for vec_header_t<FAM>
impl<FAM> RefUnwindSafe for vec_header_t<FAM>where
FAM: RefUnwindSafe + ?Sized,
impl<FAM> Send for vec_header_t<FAM>
impl<FAM> Sync for vec_header_t<FAM>
impl<FAM> Unpin for vec_header_t<FAM>
impl<FAM> UnsafeUnpin for vec_header_t<FAM>where
FAM: UnsafeUnpin + ?Sized,
impl<FAM> UnwindSafe for vec_header_t<FAM>where
FAM: UnwindSafe + ?Sized,
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