pub struct Ball { /* private fields */ }Trait Implementations§
Source§impl NativeClass for Ball
impl NativeClass for Ball
Source§fn class_name() -> &'static str
fn class_name() -> &'static str
The name of the class. Read more
Source§fn init(owner: TRef<'_, Self::Base>) -> Self
fn init(owner: TRef<'_, Self::Base>) -> Self
Function that creates a value of
Self, used for the script-instance. The default
implementation simply panics. Read moreSource§fn register_properties(builder: &ClassBuilder<Self>)
fn register_properties(builder: &ClassBuilder<Self>)
Register any exported properties to Godot.
Source§fn new_instance() -> Instance<Self, Unique>where
Self::Base: Instanciable,
fn new_instance() -> Instance<Self, Unique>where
Self::Base: Instanciable,
Convenience method to create an
Instance<Self, Unique>. This is a new Self::Base
with the script attached. Read moreSource§impl NativeClassMethods for Ball
impl NativeClassMethods for Ball
Source§fn register(builder: &ClassBuilder<Self>)
fn register(builder: &ClassBuilder<Self>)
Function that registers all exposed methods to Godot.
Auto Trait Implementations§
impl Freeze for Ball
impl RefUnwindSafe for Ball
impl Send for Ball
impl Sync for Ball
impl Unpin for Ball
impl UnwindSafe for Ball
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