[][src]Struct gdnative_common::init::Property

pub struct Property<'l, T, S, G> {
    pub name: &'l str,
    pub setter: S,
    pub getter: G,
    pub default: T,
    pub hint: PropertyHint<'l>,
    pub usage: PropertyUsage,
}

Fields

name: &'l strsetter: Sgetter: Gdefault: Thint: PropertyHint<'l>usage: PropertyUsage

Auto Trait Implementations

impl<'l, T, S, G> RefUnwindSafe for Property<'l, T, S, G> where
    G: RefUnwindSafe,
    S: RefUnwindSafe,
    T: RefUnwindSafe

impl<'l, T, S, G> Send for Property<'l, T, S, G> where
    G: Send,
    S: Send,
    T: Send

impl<'l, T, S, G> Sync for Property<'l, T, S, G> where
    G: Sync,
    S: Sync,
    T: Sync

impl<'l, T, S, G> Unpin for Property<'l, T, S, G> where
    G: Unpin,
    S: Unpin,
    T: Unpin

impl<'l, T, S, G> UnwindSafe for Property<'l, T, S, G> where
    G: UnwindSafe,
    S: UnwindSafe,
    T: UnwindSafe

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, 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.