Struct red4ext_rs::types::ISerializable
source · pub struct ISerializable(/* private fields */);
Expand description
The base type for all types held inside game references.
Implementations§
source§impl ISerializable
impl ISerializable
pub fn class(&self) -> &Class
pub fn is_a<U>(&self) -> boolwhere
U: ScriptClass,
pub fn is_exactly_a<U>(&self) -> boolwhere
U: ScriptClass,
pub fn inner_ref<U>(&self) -> Option<WeakRef<U>>where
U: ScriptClass,
Trait Implementations§
source§impl Debug for ISerializable
impl Debug for ISerializable
Auto Trait Implementations§
impl Freeze for ISerializable
impl !RefUnwindSafe for ISerializable
impl !Send for ISerializable
impl !Sync for ISerializable
impl Unpin for ISerializable
impl !UnwindSafe for ISerializable
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