Trait GDProperty

Source
pub trait GDProperty {
    // Required methods
    fn as_gd_string(&self) -> String;
    fn from_gd_string(value: &String) -> Self;
}

Required Methods§

Source

fn as_gd_string(&self) -> String

Source

fn from_gd_string(value: &String) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl GDProperty for bool

Source§

impl GDProperty for f32

Source§

impl GDProperty for u16

Source§

impl GDProperty for String

Implementors§