Struct jl_sys::bindings::jl_datatype_layout_t
source · #[repr(C)]pub struct jl_datatype_layout_t {
pub size: u32,
pub nfields: u32,
pub npointers: u32,
pub first_ptr: i32,
pub alignment: u16,
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
}
Fields§
§size: u32
§nfields: u32
§npointers: u32
§first_ptr: i32
§alignment: u16
§_bitfield_align_1: [u16; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
Implementations§
source§impl jl_datatype_layout_t
impl jl_datatype_layout_t
pub fn haspadding(&self) -> u16
pub fn set_haspadding(&mut self, val: u16)
pub fn fielddesc_type(&self) -> u16
pub fn set_fielddesc_type(&mut self, val: u16)
pub fn padding(&self) -> u16
pub fn set_padding(&mut self, val: u16)
pub fn new_bitfield_1( haspadding: u16, fielddesc_type: u16, padding: u16 ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
source§impl Clone for jl_datatype_layout_t
impl Clone for jl_datatype_layout_t
source§fn clone(&self) -> jl_datatype_layout_t
fn clone(&self) -> jl_datatype_layout_t
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 jl_datatype_layout_t
impl Debug for jl_datatype_layout_t
impl Copy for jl_datatype_layout_t
Auto Trait Implementations§
impl RefUnwindSafe for jl_datatype_layout_t
impl Send for jl_datatype_layout_t
impl Sync for jl_datatype_layout_t
impl Unpin for jl_datatype_layout_t
impl UnwindSafe for jl_datatype_layout_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