Struct gdnative_visual_script::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() -> GlobalConstants[src]
pub fn godot_singleton() -> GlobalConstantspub fn cast<T>(&self) -> Option<T> where
T: GodotObject, [src]
pub fn cast<T>(&self) -> Option<T> where
T: GodotObject, Generic dynamic cast.
Trait Implementations
impl GodotObject for GlobalConstants[src]
impl GodotObject for GlobalConstantsfn class_name() -> &'static str[src]
fn class_name() -> &'static strunsafe fn from_sys(obj: *mut c_void) -> GlobalConstants[src]
unsafe fn from_sys(obj: *mut c_void) -> GlobalConstantsunsafe fn to_sys(&self) -> *mut c_void[src]
unsafe fn to_sys(&self) -> *mut c_voidimpl 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 ToVariant for GlobalConstants[src]
impl ToVariant for GlobalConstantsfn to_variant(&self) -> Variant[src]
fn to_variant(&self) -> Variantfn from_variant(variant: &Variant) -> Option<GlobalConstants>[src]
fn from_variant(variant: &Variant) -> Option<GlobalConstants>impl Debug for GlobalConstants[src]
impl Debug for GlobalConstantsfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Copy for GlobalConstants[src]
impl Copy for GlobalConstantsAuto Trait Implementations
impl !Send for GlobalConstants
impl !Send for GlobalConstantsimpl !Sync for GlobalConstants
impl !Sync for GlobalConstants