Enum NoBase
pub enum NoBase {}Expand description
Type representing the absence of a base class, at the root of the hierarchy.
NoBase is used as the base class for exactly one class: Object.
This is an enum without any variants, as we should never construct an instance of this class.
Trait Implementations§
§impl GodotClass for NoBase
impl GodotClass for NoBase
§const INIT_LEVEL: InitLevel = InitLevel::Core
const INIT_LEVEL: InitLevel = InitLevel::Core
Initialization level, during which this class should be initialized with Godot. Read more
§fn class_id() -> ClassId
fn class_id() -> ClassId
Globally unique class ID, linked to the name under which the class is registered in Godot. Read more
§fn inherits<Base>() -> boolwhere
Base: GodotClass,
fn inherits<Base>() -> boolwhere
Base: GodotClass,
Auto Trait Implementations§
impl Freeze for NoBase
impl RefUnwindSafe for NoBase
impl Send for NoBase
impl Sync for NoBase
impl Unpin for NoBase
impl UnsafeUnpin for NoBase
impl UnwindSafe for NoBase
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
§impl<T> Inherits<T> for Twhere
T: GodotClass,
impl<T> Inherits<T> for Twhere
T: GodotClass,
§const IS_SAME_CLASS: bool = true
const IS_SAME_CLASS: bool = true
True iff
Self == Base. Read more