Struct libil2cpp::raw::Il2CppType  
source · [−]#[repr(C)]pub struct Il2CppType {
    pub data: Il2CppType__bindgen_ty_1,
    pub _bitfield_align_1: [u16; 0],
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
    pub __bindgen_padding_0: u32,
}Fields
data: Il2CppType__bindgen_ty_1_bitfield_align_1: [u16; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>__bindgen_padding_0: u32Implementations
sourceimpl Il2CppType
 
impl Il2CppType
pub fn attrs(&self) -> c_uint
pub fn set_attrs(&mut self, val: c_uint)
pub fn type_(&self) -> Il2CppTypeEnum
pub fn set_type(&mut self, val: Il2CppTypeEnum)
pub fn num_mods(&self) -> c_uint
pub fn set_num_mods(&mut self, val: c_uint)
pub fn byref(&self) -> c_uint
pub fn set_byref(&mut self, val: c_uint)
pub fn pinned(&self) -> c_uint
pub fn set_pinned(&mut self, val: c_uint)
pub fn new_bitfield_1(
    attrs: c_uint, 
    type_: Il2CppTypeEnum, 
    num_mods: c_uint, 
    byref: c_uint, 
    pinned: c_uint
) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations
sourceimpl Clone for Il2CppType
 
impl Clone for Il2CppType
sourcefn clone(&self) -> Il2CppType
 
fn clone(&self) -> Il2CppType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Copy for Il2CppType
Auto Trait Implementations
impl RefUnwindSafe for Il2CppType
impl !Send for Il2CppType
impl !Sync for Il2CppType
impl Unpin for Il2CppType
impl UnwindSafe for Il2CppType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more