pub struct MathFn {}Trait Implementations§
Source§impl NativeClass for MathFn
impl NativeClass for MathFn
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 MathFn
impl NativeClassMethods for MathFn
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 MathFn
impl RefUnwindSafe for MathFn
impl Send for MathFn
impl Sync for MathFn
impl Unpin for MathFn
impl UnwindSafe for MathFn
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