[−][src]Struct gdnative_common::GlobalConstants
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]
pub fn godot_singleton() -> Self
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Generic dynamic cast.
Trait Implementations
impl Clone for GlobalConstants
[src]
fn clone(&self) -> GlobalConstants
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GlobalConstants
[src]
impl Debug for GlobalConstants
[src]
impl GodotObject for GlobalConstants
[src]
fn class_name() -> &'static str
[src]
unsafe fn from_sys(obj: *mut godot_object) -> Self
[src]
unsafe fn to_sys(&self) -> *mut godot_object
[src]
impl ToVariant for GlobalConstants
[src]
fn to_variant(&self) -> Variant
[src]
fn from_variant(variant: &Variant) -> Option<Self>
[src]
Auto Trait Implementations
impl RefUnwindSafe for GlobalConstants
impl !Send for GlobalConstants
impl !Sync for GlobalConstants
impl Unpin for GlobalConstants
impl UnwindSafe for GlobalConstants
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,