[][src]Struct gdnative::init::ExportInfo

pub struct ExportInfo {
    pub variant_type: VariantType,
    pub hint_kind: u32,
    pub hint_string: GodotString,
}

Metadata about the exported property.

Fields

variant_type: VariantTypehint_kind: u32hint_string: GodotString

Methods

impl ExportInfo[src]

pub fn new(variant_type: VariantType) -> ExportInfo[src]

Create an ExportInfo with the given Variant type, but without a hint.

pub fn resource_type<T>() -> ExportInfo where
    T: GodotObject
[src]

Create an ExportInfo with a hint for a specific Godot resource type.

Trait Implementations

impl Debug for ExportInfo[src]

Auto Trait Implementations

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.