Struct red4ext_rs::ClassExport
source · pub struct ClassExport<C: 'static> { /* private fields */ }
Expand description
A single class export.
This can be used to define a custom class to be exported to the game.
This type should not be used for structs, use StructExport
instead.
Implementations§
source§impl<C: ScriptClass> ClassExport<C>
impl<C: ScriptClass> ClassExport<C>
pub fn builder() -> ClassExportBuilder<C>
Trait Implementations§
source§impl<C: Debug + 'static> Debug for ClassExport<C>
impl<C: Debug + 'static> Debug for ClassExport<C>
source§impl<C: Default + Clone + ScriptClass<Kind = Native>> Exportable for ClassExport<C>
impl<C: Default + Clone + ScriptClass<Kind = Native>> Exportable for ClassExport<C>
Auto Trait Implementations§
impl<C> Freeze for ClassExport<C>
impl<C> RefUnwindSafe for ClassExport<C>
impl<C> Send for ClassExport<C>
impl<C> Sync for ClassExport<C>
impl<C> Unpin for ClassExport<C>
impl<C> UnwindSafe for ClassExport<C>
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