#[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

source

pub fn abstract_(&self) -> u8

source

pub fn set_abstract(&mut self, val: u8)

source

pub fn mutabl(&self) -> u8

source

pub fn set_mutabl(&mut self, val: u8)

source

pub fn mayinlinealloc(&self) -> u8

source

pub fn set_mayinlinealloc(&mut self, val: u8)

source

pub fn _reserved(&self) -> u8

source

pub fn set__reserved(&mut self, val: u8)

source

pub fn new_bitfield_1( abstract_: u8, mutabl: u8, mayinlinealloc: u8, _reserved: u8 ) -> __BindgenBitfieldUnit<[u8; 1]>

Trait Implementations§

source§

impl Debug for jl_typename_t

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.