flux_middle::pretty

Trait FromOpt

Source
trait FromOpt: Sized {
    // Required method
    fn from_opt(opt: &Value) -> Option<Self>;
}

Required Methods§

Source

fn from_opt(opt: &Value) -> Option<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 FromOpt for bool

Source§

fn from_opt(opt: &Value) -> Option<Self>

Implementors§