Trait gdnative_core::nativescript::init::property::Export[][src]

pub trait Export: ToVariant {
    type Hint;
    fn export_info(hint: Option<Self::Hint>) -> ExportInfo;
}

Trait for exportable types.

Associated Types

type Hint[src]

A type-specific hint type that is valid for the type being exported.

Loading content...

Required methods

fn export_info(hint: Option<Self::Hint>) -> ExportInfo[src]

Returns ExportInfo given an optional typed hint.

Loading content...

Implementations on Foreign Types

impl Export for i8[src]

type Hint = IntHint<i8>

impl Export for i16[src]

impl Export for i32[src]

impl Export for i64[src]

impl Export for u8[src]

type Hint = IntHint<u8>

impl Export for u16[src]

impl Export for u32[src]

impl Export for u64[src]

impl Export for f32[src]

impl Export for f64[src]

impl Export for String[src]

impl Export for bool[src]

type Hint = ()

impl<T> Export for Option<T> where
    T: Export
[src]

type Hint = T::Hint

Loading content...

Implementors

impl Export for Color[src]

impl Export for Dictionary[src]

type Hint = ()

impl Export for Aabb[src]

type Hint = ()

impl Export for Basis[src]

type Hint = ()

impl Export for Plane[src]

type Hint = ()

impl Export for Transform[src]

type Hint = ()

impl Export for NodePath[src]

type Hint = ()

impl Export for Rid[src]

type Hint = ()

impl Export for GodotString[src]

impl Export for VariantArray[src]

type Hint = ()

impl Export for ByteArray[src]

type Hint = ()

impl Export for ColorArray[src]

type Hint = ()

impl Export for Float32Array[src]

type Hint = ()

impl Export for Quat[src]

type Hint = ()

impl Export for Rect2[src]

type Hint = ()

impl Export for Transform2D[src]

type Hint = ()

impl Export for Vector2[src]

type Hint = ()

impl Export for Vector3[src]

type Hint = ()

impl Export for Int32Array[src]

type Hint = ()

impl Export for StringArray[src]

type Hint = ()

impl Export for Vector2Array[src]

type Hint = ()

impl Export for Vector3Array[src]

type Hint = ()

impl<T> Export for Instance<T, Shared> where
    T: NativeClass,
    Instance<T, Shared>: ToVariant
[src]

type Hint = ()

impl<T> Export for Ref<T, Shared> where
    T: GodotObject
[src]

type Hint = ()

Loading content...