pub struct Struct { /* private fields */ }
Expand description
The data for a class definition.
Implementations§
Source§impl Struct
impl Struct
pub fn new<T: GodotClass + ImplementsGodotExports>() -> Self
pub fn with_generated<T: GodotClass + GodotDefault>(self) -> Self
pub fn with_generated_no_default<T: GodotClass>(self) -> Self
Available on
before_api="4.5"
only.pub fn with_default_get_virtual_fn<T: GodotClass + UserClass>(self) -> Self
pub fn with_tool(self) -> Self
pub fn with_editor_plugin(self) -> Self
pub fn with_internal(self) -> Self
pub fn with_instantiable(self) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Struct
impl RefUnwindSafe for Struct
impl Send for Struct
impl Sync for Struct
impl Unpin for Struct
impl UnwindSafe for Struct
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