unity::il2cpp::class

Struct Il2CppClass1

source
#[repr(C)]
pub struct Il2CppClass1 { pub image: &'static Il2CppImage, pub gc_desc: *const u8, pub byval_arg: Il2CppType, pub element_class: &'static Il2CppClass, pub parent: &'static Il2CppClass, pub generic_class: Option<&'static Il2CppGenericClass>, pub fields: *const FieldInfo, pub events: *const u8, pub properties: *const u8, pub methods: *const &'static MethodInfo, pub nested_types: *const &'static Il2CppClass, /* private fields */ }

Fields§

§image: &'static Il2CppImage§gc_desc: *const u8§byval_arg: Il2CppType§element_class: &'static Il2CppClass§parent: &'static Il2CppClass§generic_class: Option<&'static Il2CppGenericClass>§fields: *const FieldInfo§events: *const u8§properties: *const u8§methods: *const &'static MethodInfo§nested_types: *const &'static Il2CppClass

Auto Trait Implementations§

§

impl Freeze for Il2CppClass1

§

impl RefUnwindSafe for Il2CppClass1

§

impl !Send for Il2CppClass1

§

impl !Sync for Il2CppClass1

§

impl Unpin for Il2CppClass1

§

impl UnwindSafe for Il2CppClass1

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

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

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

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

§

fn into(self) -> U

Calls U::from(self).

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

§

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

§

type Error = Infallible

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

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

Performs the conversion.
§

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

§

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

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

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

Performs the conversion.