Enum nuts_rs::SampleStatValue
source · [−]pub enum SampleStatValue {
Array(Box<[f64]>),
OptionArray(Option<Box<[f64]>>),
U64(u64),
I64(i64),
OptionI64(Option<i64>),
F64(f64),
OptionF64(Option<f64>),
Bool(bool),
String(String),
}
Variants
Array(Box<[f64]>)
OptionArray(Option<Box<[f64]>>)
U64(u64)
I64(i64)
OptionI64(Option<i64>)
F64(f64)
OptionF64(Option<f64>)
Bool(bool)
String(String)
Trait Implementations
sourceimpl Clone for SampleStatValue
impl Clone for SampleStatValue
sourcefn clone(&self) -> SampleStatValue
fn clone(&self) -> SampleStatValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SampleStatValue
impl Debug for SampleStatValue
sourceimpl From<Option<f64>> for SampleStatValue
impl From<Option<f64>> for SampleStatValue
sourceimpl From<Option<i64>> for SampleStatValue
impl From<Option<i64>> for SampleStatValue
sourceimpl From<String> for SampleStatValue
impl From<String> for SampleStatValue
sourceimpl From<bool> for SampleStatValue
impl From<bool> for SampleStatValue
sourceimpl From<f64> for SampleStatValue
impl From<f64> for SampleStatValue
sourceimpl From<i64> for SampleStatValue
impl From<i64> for SampleStatValue
Auto Trait Implementations
impl RefUnwindSafe for SampleStatValue
impl Send for SampleStatValue
impl Sync for SampleStatValue
impl Unpin for SampleStatValue
impl UnwindSafe for SampleStatValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more