Trait EventValue

Source
pub trait EventValue: Sized {
    // Required method
    fn value_type() -> GameEventValueType;
}

Required Methods§

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 EventValue for bool

Source§

impl EventValue for f32

Source§

impl EventValue for u8

Source§

impl EventValue for u16

Source§

impl EventValue for u32

Source§

impl EventValue for ()

Source§

impl EventValue for String

Implementors§