Struct libil2cpp::Il2CppType
source · [−]#[repr(transparent)]pub struct Il2CppType(_);
Expand description
An il2cpp type
Implementations
sourceimpl Il2CppType
impl Il2CppType
sourcepub fn class(&self) -> &Il2CppClass
pub fn class(&self) -> &Il2CppClass
Class of the type
sourcepub fn reflection_object(&self) -> &Il2CppReflectionType
pub fn reflection_object(&self) -> &Il2CppReflectionType
Il2CppReflectionType
which represents the type
sourceimpl Il2CppType
impl Il2CppType
sourcepub fn is_builtin(&self, builtin: Builtin) -> bool
pub fn is_builtin(&self, builtin: Builtin) -> bool
Whether the type represents the given Builtin
sourcepub fn as_builtin(&self) -> Option<Builtin>
pub fn as_builtin(&self) -> Option<Builtin>
Builtin
the type represents, if any
Trait Implementations
sourceimpl Debug for Il2CppType
impl Debug for Il2CppType
sourceimpl Display for Il2CppType
impl Display for Il2CppType
sourceimpl<'a> From<&'a Il2CppType> for &'a Il2CppClass
impl<'a> From<&'a Il2CppType> for &'a Il2CppClass
sourcefn from(ty: &'a Il2CppType) -> Self
fn from(ty: &'a Il2CppType) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<Il2CppType> for Il2CppType
impl PartialEq<Il2CppType> for Il2CppType
sourceimpl WrapRaw for Il2CppType
impl WrapRaw for Il2CppType
type Raw = Il2CppType
type Raw = Il2CppType
Raw il2cpp type
sourceunsafe fn raw_mut(&mut self) -> &mut Self::Raw
unsafe fn raw_mut(&mut self) -> &mut Self::Raw
Returns a mutable reference to the underlying raw il2cpp type Read more
sourceunsafe fn wrap_mut(raw: &mut Self::Raw) -> &mut Self
unsafe fn wrap_mut(raw: &mut Self::Raw) -> &mut Self
Wraps a mutable reference to the raw il2cpp type Read more
impl Eq for Il2CppType
impl Send for Il2CppType
impl Sync for Il2CppType
Auto Trait Implementations
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