Trait godot::register::property::Export

pub trait Export: Var {
    // Required method
    fn default_export_info() -> PropertyHintInfo;
}
Expand description

Trait implemented for types that can be used as #[export] fields.

Required Methods§

fn default_export_info() -> PropertyHintInfo

The export info to use for an exported field of this type, if no other export info is specified.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Export for bool

§

impl Export for f32

§

impl Export for f64

§

impl Export for i8

§

impl Export for i16

§

impl Export for i32

§

impl Export for i64

§

impl Export for u8

§

impl Export for u16

§

impl Export for u32

§

impl<T> Export for Option<T>
where T: Export, Option<T>: Var,

Implementors§