FromSampledValue

Trait FromSampledValue 

Source
pub trait FromSampledValue
where Self: Sized,
{ // Required method fn from_sampled_value(value: SampledValue) -> Result<Self, UncertainError>; }

Required Methods§

Source

fn from_sampled_value(value: SampledValue) -> Result<Self, UncertainError>

Attempts to convert an internal SampledValue back into this type.

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

Source§

impl FromSampledValue for f64

Implementors§