Struct jl_sys::bindings::jl_typename_t
source · #[repr(C)]pub struct jl_typename_t {Show 16 fields
pub name: *mut jl_sym_t,
pub module: *mut _jl_module_t,
pub names: *mut jl_svec_t,
pub atomicfields: *const u32,
pub constfields: *const u32,
pub wrapper: *mut jl_value_t,
pub Typeofwrapper: AtomicPtr<jl_value_t>,
pub cache: AtomicPtr<jl_svec_t>,
pub linearcache: AtomicPtr<jl_svec_t>,
pub mt: *mut _jl_methtable_t,
pub partial: *mut jl_array_t,
pub hash: isize,
pub n_uninitialized: i32,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub max_methods: u8,
}
Fields§
§name: *mut jl_sym_t
§module: *mut _jl_module_t
§names: *mut jl_svec_t
§atomicfields: *const u32
§constfields: *const u32
§wrapper: *mut jl_value_t
§Typeofwrapper: AtomicPtr<jl_value_t>
§cache: AtomicPtr<jl_svec_t>
§linearcache: AtomicPtr<jl_svec_t>
§mt: *mut _jl_methtable_t
§partial: *mut jl_array_t
§hash: isize
§n_uninitialized: i32
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§max_methods: u8
Implementations§
source§impl jl_typename_t
impl jl_typename_t
pub fn abstract_(&self) -> u8
pub fn set_abstract(&mut self, val: u8)
pub fn mutabl(&self) -> u8
pub fn set_mutabl(&mut self, val: u8)
pub fn mayinlinealloc(&self) -> u8
pub fn set_mayinlinealloc(&mut self, val: u8)
pub fn _reserved(&self) -> u8
pub fn set__reserved(&mut self, val: u8)
pub fn new_bitfield_1( abstract_: u8, mutabl: u8, mayinlinealloc: u8, _reserved: u8 ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for jl_typename_t
impl !Send for jl_typename_t
impl !Sync for jl_typename_t
impl Unpin for jl_typename_t
impl UnwindSafe for jl_typename_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