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 GlobalConstants
pub fn godot_singleton() -> GlobalConstants
[src]
pub fn godot_singleton() -> GlobalConstants
pub 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 GlobalConstants
fn class_name() -> &'static str
[src]
fn class_name() -> &'static str
unsafe fn from_sys(obj: *mut c_void) -> GlobalConstants
[src]
unsafe fn from_sys(obj: *mut c_void) -> GlobalConstants
unsafe fn to_sys(&self) -> *mut c_void
[src]
unsafe fn to_sys(&self) -> *mut c_void
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 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<GlobalConstants>
[src]
fn from_variant(variant: &Variant) -> Option<GlobalConstants>
impl Debug for GlobalConstants
[src]
impl Debug for GlobalConstants
fn 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 GlobalConstants
Auto Trait Implementations
impl !Send for GlobalConstants
impl !Send for GlobalConstants
impl !Sync for GlobalConstants
impl !Sync for GlobalConstants