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 GlobalConstants
pub fn godot_singleton() -> Self
[src]
pub fn godot_singleton() -> Self
pub 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 GlobalConstants
impl Clone for GlobalConstants
[src]
impl Clone for GlobalConstants
fn clone(&self) -> GlobalConstants
[src]
fn clone(&self) -> GlobalConstants
Returns 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 GlobalConstants
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl GodotObject for GlobalConstants
[src]
impl GodotObject for GlobalConstants
fn class_name() -> &'static str
[src]
fn class_name() -> &'static str
unsafe fn from_sys(obj: *mut godot_object) -> Self
[src]
unsafe fn from_sys(obj: *mut godot_object) -> Self
unsafe fn to_sys(&self) -> *mut godot_object
[src]
unsafe fn to_sys(&self) -> *mut godot_object
impl ToVariant for GlobalConstants
[src]
impl ToVariant for GlobalConstants
fn to_variant(&self) -> Variant
[src]
fn to_variant(&self) -> Variant
fn from_variant(variant: &Variant) -> Option<Self>
[src]
fn from_variant(variant: &Variant) -> Option<Self>
Auto Trait Implementations
impl !Send for GlobalConstants
impl !Send for GlobalConstants
impl !Sync for GlobalConstants
impl !Sync for GlobalConstants