Struct red4ext_rs::types::IScriptable
source · pub struct IScriptable(/* private fields */);
Expand description
The base type for all scripted classes.
Implementations§
source§impl IScriptable
impl IScriptable
pub fn class(&self) -> &Class
pub fn fields(&self) -> ValueContainer
pub fn as_serializable(&self) -> &ISerializable
pub fn set_native_type(&mut self, class: &Class)
Trait Implementations§
source§impl AsRef<IScriptable> for IScriptable
impl AsRef<IScriptable> for IScriptable
source§impl AsRef<IScriptable> for ScriptableSystem
impl AsRef<IScriptable> for ScriptableSystem
source§fn as_ref(&self) -> &IScriptable
fn as_ref(&self) -> &IScriptable
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for IScriptable
impl Clone for IScriptable
source§impl Debug for IScriptable
impl Debug for IScriptable
source§impl Default for IScriptable
impl Default for IScriptable
source§impl Drop for IScriptable
impl Drop for IScriptable
Auto Trait Implementations§
impl Freeze for IScriptable
impl !RefUnwindSafe for IScriptable
impl !Send for IScriptable
impl !Sync for IScriptable
impl Unpin for IScriptable
impl !UnwindSafe for IScriptable
Blanket Implementations§
source§impl<T> AsReceiver for Twhere
T: AsRef<IScriptable>,
impl<T> AsReceiver for Twhere
T: AsRef<IScriptable>,
fn as_receiver(&self) -> Result<&IScriptable, InvokeError>
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