Trait godot::prelude::TypeStringHint

pub trait TypeStringHint {
    // Required method
    fn type_string() -> String;
}
Expand description

Marks types that are registered via “type string hint” in Godot.

See PropertyHint::TYPE_STRING and upstream docs.

Required Methods§

fn type_string() -> String

Returns the representation of this type as a type string.

See PropertyHint.PROPERTY_HINT_TYPE_STRING.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl TypeStringHint for bool

§

impl TypeStringHint for f32

§

impl TypeStringHint for f64

§

impl TypeStringHint for i8

§

impl TypeStringHint for i16

§

impl TypeStringHint for i32

§

impl TypeStringHint for i64

§

impl TypeStringHint for u8

§

impl TypeStringHint for u16

§

impl TypeStringHint for u32

§

impl<T> TypeStringHint for Option<T>
where T: TypeStringHint,

Implementors§