#[repr(C)]pub struct jl_datatype_layout_t {
pub nfields: u32,
pub _bitfield_1: u32,
}Fields§
§nfields: u32§_bitfield_1: u32Implementations§
Source§impl jl_datatype_layout_t
impl jl_datatype_layout_t
pub fn alignment(&self) -> u32
pub fn set_alignment(&mut self, val: u32)
pub fn haspadding(&self) -> u32
pub fn set_haspadding(&mut self, val: u32)
pub fn npointers(&self) -> u32
pub fn set_npointers(&mut self, val: u32)
pub fn fielddesc_type(&self) -> u32
pub fn set_fielddesc_type(&mut self, val: u32)
pub fn new_bitfield_1( alignment: u32, haspadding: u32, npointers: u32, fielddesc_type: u32, ) -> u32
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 Freeze for jl_datatype_layout_t
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