Struct gdnative::prelude::Aether[][src]

pub struct Aether<T> { /* fields omitted */ }

Special user-data wrapper intended for zero-sized types, that does not perform any allocation or synchronization at runtime. Does not implement MapMut.

Aether produces a value using Default each time it's mapped. This is most useful when used with auto-load scripts to simulate static functions, since actual static functions can't be exported in GDNative.

Trait Implementations

impl<T> Clone for Aether<T>[src]

impl<T> Copy for Aether<T> where
    T: Copy
[src]

impl<T> Debug for Aether<T> where
    T: Debug
[src]

impl<T> Default for Aether<T>[src]

impl<T> Map for Aether<T> where
    T: NativeClass + Copy + Default
[src]

type Err = Infallible

impl<T> Send for Aether<T>[src]

impl<T> Sync for Aether<T>[src]

impl<T> UserData for Aether<T> where
    T: NativeClass + Copy + Default
[src]

type Target = T

Auto Trait Implementations

impl<T> RefUnwindSafe for Aether<T> where
    T: RefUnwindSafe
[src]

impl<T> Unpin for Aether<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for Aether<T> where
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.