pub struct ClassPlugin { /* private fields */ }
Expand description
Piece of information that is gathered by the self-registration (“plugin”) system.
You should not manually construct this struct, but rather use ClassPlugin::new()
.
Implementations§
Source§impl ClassPlugin
impl ClassPlugin
Sourcepub fn new<T: GodotClass>(item: PluginItem) -> Self
pub fn new<T: GodotClass>(item: PluginItem) -> Self
Creates a new ClassPlugin
, automatically setting the class_name
and init_level
to the values defined in GodotClass
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClassPlugin
impl RefUnwindSafe for ClassPlugin
impl Send for ClassPlugin
impl Sync for ClassPlugin
impl Unpin for ClassPlugin
impl UnwindSafe for ClassPlugin
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