Skip to main content

FromTunable

Trait FromTunable 

Source
pub trait FromTunable: Sized {
    // Required method
    fn from_tunable(value: TunableValue) -> Option<Self>;
}

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

Source§

impl FromTunable for f32

Source§

impl FromTunable for i32

Source§

impl FromTunable for i64

Source§

impl FromTunable for [f32; 3]

Implementors§