pub struct Il2CppType {
pub kind: TypeKind,
pub attrs: u16,
pub byref: bool,
}Expand description
One entry of the binary’s Il2CppType table: the type of a field,
parameter or return value, which metadata refers to by type index.
Fields§
§kind: TypeKindWhat the type is, with its element or definition.
attrs: u16The low 16 bits of the bitfield: the owning field’s or parameter’s
attributes (FieldAttributes / ParamAttributes) where it has them.
byref: boolPassed by reference (ref, out or in).
Implementations§
Trait Implementations§
Source§impl Clone for Il2CppType
impl Clone for Il2CppType
Source§impl Debug for Il2CppType
impl Debug for Il2CppType
Source§impl<'ʄ> Facet<'ʄ> for Il2CppType
Available on crate feature reflect only.
impl<'ʄ> Facet<'ʄ> for Il2CppType
Available on crate feature
reflect only.Source§impl PartialEq for Il2CppType
impl PartialEq for Il2CppType
impl StructuralPartialEq for Il2CppType
Auto Trait Implementations§
impl Forget for Il2CppType
impl Freeze for Il2CppTypewhere
*const Il2CppType is !null: Freeze,
PhantomData<Il2CppType>: Freeze,
*const u8 is !null: Freeze,
impl Move for Il2CppType
impl RefUnwindSafe for Il2CppType
impl Send for Il2CppType
impl Sync for Il2CppType
impl Unpin for Il2CppType
impl UnsafeUnpin for Il2CppTypewhere
*const Il2CppType is !null: UnsafeUnpin,
PhantomData<Il2CppType>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
impl UnwindSafe for Il2CppType
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