Struct red4ext_rs::class_kind::Scripted
source · pub struct Scripted;
Expand description
A marker type for scripted classes. Scripted classes are stored with an additional level of
indirection inside of IScriptable
.
Trait Implementations§
source§impl<T> ClassKind<T> for Scripted
impl<T> ClassKind<T> for Scripted
type NativeType = IScriptable
fn fields(inst: &Self::NativeType) -> &T
fn fields_mut(inst: &mut Self::NativeType) -> &mut T
Auto Trait Implementations§
impl Freeze for Scripted
impl RefUnwindSafe for Scripted
impl Send for Scripted
impl Sync for Scripted
impl Unpin for Scripted
impl UnwindSafe for Scripted
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