Trait gdnative::nativescript::init::Export[][src]

pub trait Export: ToVariant {
    type Hint;
    pub 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

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

Returns ExportInfo given an optional typed hint.

Loading content...

Implementations on Foreign Types

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

type Hint = <T as Export>::Hint

impl Export for bool[src]

type Hint = ()

impl Export for u8[src]

type Hint = IntHint<u8>

impl Export for Vector2D<f32, UnknownUnit>[src]

type Hint = ()

impl Export for i32[src]

impl Export for Transform2D<f32, UnknownUnit, UnknownUnit>[src]

type Hint = ()

impl Export for i8[src]

type Hint = IntHint<i8>

impl Export for f64[src]

impl Export for Vector3D<f32, UnknownUnit>[src]

type Hint = ()

impl Export for u16[src]

impl Export for Rotation3D<f32, UnknownUnit, UnknownUnit>[src]

type Hint = ()

impl Export for u64[src]

impl Export for i16[src]

impl Export for i64[src]

impl Export for f32[src]

impl Export for u32[src]

impl Export for String[src]

impl Export for Rect<f32, UnknownUnit>[src]

type Hint = ()

Loading content...

Implementors

impl Export for Aabb[src]

type Hint = ()

impl Export for Basis[src]

type Hint = ()

impl Export for Color[src]

impl Export for Dictionary<Shared>[src]

type Hint = ()

impl Export for GodotString[src]

impl Export for NodePath[src]

type Hint = ()

impl Export for Plane[src]

type Hint = ()

impl Export for Rid[src]

type Hint = ()

impl Export for Transform[src]

type Hint = ()

impl Export for TypedArray<f32>[src]

type Hint = ()

impl Export for TypedArray<i32>[src]

type Hint = ()

impl Export for TypedArray<u8>[src]

type Hint = ()

impl Export for TypedArray<Color>[src]

type Hint = ()

impl Export for TypedArray<GodotString>[src]

type Hint = ()

impl Export for TypedArray<Vector2D<f32, UnknownUnit>>[src]

type Hint = ()

impl Export for TypedArray<Vector3D<f32, UnknownUnit>>[src]

type Hint = ()

impl Export for VariantArray<Shared>[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...