Trait ParamValue

Source
pub trait ParamValue: Debug + ParamClone {
    // Provided methods
    fn as_char(&self) -> Option<&char> { ... }
    fn as_f32(&self) -> Option<&f32> { ... }
    fn as_i16(&self) -> Option<&i16> { ... }
    fn as_u8(&self) -> Option<&u8> { ... }
}

Provided Methods§

Source

fn as_char(&self) -> Option<&char>

Source

fn as_f32(&self) -> Option<&f32>

Source

fn as_i16(&self) -> Option<&i16>

Source

fn as_u8(&self) -> Option<&u8>

Implementations on Foreign Types§

Source§

impl ParamValue for char

Source§

fn as_char(&self) -> Option<&char>

Source§

impl ParamValue for f32

Source§

fn as_f32(&self) -> Option<&f32>

Source§

impl ParamValue for i16

Source§

fn as_i16(&self) -> Option<&i16>

Source§

impl ParamValue for u8

Source§

fn as_u8(&self) -> Option<&u8>

Implementors§