Struct gdnative_common::GlobalConstants [−][src]
pub struct GlobalConstants { /* fields omitted */ }core singleton class GlobalConstants (unsafe).
Official documentation
See the documentation of this class in the Godot engine's official documentation.
Feature flag
This type is behind the gdnative crate's common feature flag.
Methods
impl GlobalConstants[src]
impl GlobalConstantspub fn godot_singleton() -> Self[src]
pub fn godot_singleton() -> Selfpub fn cast<T: GodotObject>(&self) -> Option<T>[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>Generic dynamic cast.
Trait Implementations
impl Copy for GlobalConstants[src]
impl Copy for GlobalConstantsimpl Clone for GlobalConstants[src]
impl Clone for GlobalConstantsfn clone(&self) -> GlobalConstants[src]
fn clone(&self) -> GlobalConstantsReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for GlobalConstants[src]
impl Debug for GlobalConstantsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl GodotObject for GlobalConstants[src]
impl GodotObject for GlobalConstantsfn class_name() -> &'static str[src]
fn class_name() -> &'static strunsafe fn from_sys(obj: *mut godot_object) -> Self[src]
unsafe fn from_sys(obj: *mut godot_object) -> Selfunsafe fn to_sys(&self) -> *mut godot_object[src]
unsafe fn to_sys(&self) -> *mut godot_objectimpl ToVariant for GlobalConstants[src]
impl ToVariant for GlobalConstantsfn to_variant(&self) -> Variant[src]
fn to_variant(&self) -> Variantfn from_variant(variant: &Variant) -> Option<Self>[src]
fn from_variant(variant: &Variant) -> Option<Self>Auto Trait Implementations
impl !Send for GlobalConstants
impl !Send for GlobalConstantsimpl !Sync for GlobalConstants
impl !Sync for GlobalConstants