Struct IlInstance
pub struct IlInstance(/* private fields */);Implementations§
§impl IlInstance
impl IlInstance
pub fn from_raw(ptr: *mut ()) -> IlInstance
pub fn null() -> IlInstance
pub fn as_ptr(self) -> *mut ()
pub fn is_null(self) -> bool
Trait Implementations§
§impl<T> AsRef<IlInstance> for Array<T>where
T: Copy,
impl<T> AsRef<IlInstance> for Array<T>where
T: Copy,
§fn as_ref(&self) -> &IlInstance
fn as_ref(&self) -> &IlInstance
Converts this type into a shared reference of the (usually inferred) input type.
§impl AsRef<IlInstance> for Il2CppString
impl AsRef<IlInstance> for Il2CppString
§fn as_ref(&self) -> &IlInstance
fn as_ref(&self) -> &IlInstance
Converts this type into a shared reference of the (usually inferred) input type.
§impl Clone for IlInstance
impl Clone for IlInstance
§fn clone(&self) -> IlInstance
fn clone(&self) -> IlInstance
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for IlInstance
impl Debug for IlInstance
§impl<T> From<Array<T>> for IlInstancewhere
T: Copy,
impl<T> From<Array<T>> for IlInstancewhere
T: Copy,
§fn from(a: Array<T>) -> IlInstance
fn from(a: Array<T>) -> IlInstance
Converts to this type from the input type.
§impl From<Il2CppString> for IlInstance
impl From<Il2CppString> for IlInstance
§fn from(s: Il2CppString) -> IlInstance
fn from(s: Il2CppString) -> IlInstance
Converts to this type from the input type.
§impl From<SystemType> for IlInstance
impl From<SystemType> for IlInstance
§fn from(s: SystemType) -> IlInstance
fn from(s: SystemType) -> IlInstance
Converts to this type from the input type.
§impl IlType for IlInstance
impl IlType for IlInstance
impl Copy for IlInstance
Auto Trait Implementations§
impl Freeze for IlInstance
impl RefUnwindSafe for IlInstance
impl !Send for IlInstance
impl !Sync for IlInstance
impl Unpin for IlInstance
impl UnwindSafe for IlInstance
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Cast for Twhere
T: SystemObject,
impl<T> Cast for Twhere
T: SystemObject,
fn get_class(self) -> Class
fn is_null(self) -> bool
fn rebind_class(self, new_class: Class)
fn override_class(self) -> Class
fn is_instance_of<T>(self) -> boolwhere
T: ClassIdentity,
fn is_direct_subclass_of<T>(self) -> boolwhere
T: ClassIdentity,
fn try_cast<T>(self) -> Option<T>where
T: ClassIdentity + FromIlInstance,
§unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
Safety Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)