Enum momba_explore::model::Value[][src]

#[repr(u8)]pub enum Value {
    Int64(i64),
    Float64(NotNan<f64>),
    Bool(bool),
    Vector(Vec<Value>),
}

Variants

Int64(i64)
Float64(NotNan<f64>)
Bool(bool)
Vector(Vec<Value>)

Implementations

impl Value[src]

pub fn get_type(&self) -> Type[src]

pub fn is_int(&self) -> bool[src]

pub fn is_float(&self) -> bool[src]

pub fn is_numeric(&self) -> bool[src]

pub fn is_bool(&self) -> bool[src]

pub fn is_vector(&self) -> bool[src]

pub fn unwrap_bool(&self) -> bool[src]

pub fn unwrap_int64(&self) -> i64[src]

pub fn unwrap_float64(&self) -> NotNan<f64>[src]

pub fn unwrap_vector(&self) -> &Vec<Value>[src]

pub fn apply_not(self) -> Value[src]

pub fn apply_floor(self) -> Value[src]

pub fn apply_ceil(self) -> Value[src]

pub fn apply_abs(self) -> Value[src]

pub fn apply_sgn(self) -> Value[src]

pub fn apply_trc(self) -> Value[src]

pub fn apply_minus(self) -> Value[src]

pub fn apply_add(self, other: Value) -> Value[src]

pub fn apply_sub(self, other: Value) -> Value[src]

pub fn apply_mul(self, other: Value) -> Value[src]

pub fn apply_floor_div(self, other: Value) -> Value[src]

pub fn apply_real_div(self, other: Value) -> Value[src]

pub fn apply_mod(self, other: Value) -> Value[src]

pub fn apply_pow(self, other: Value) -> Value[src]

pub fn apply_log(self, other: Value) -> Value[src]

pub fn apply_min(self, other: Value) -> Value[src]

pub fn apply_max(self, other: Value) -> Value[src]

pub fn apply_cmp_eq(self, other: Value) -> Value[src]

pub fn apply_cmp_ne(self, other: Value) -> Value[src]

pub fn apply_cmp_lt(self, other: Value) -> Value[src]

pub fn apply_cmp_le(self, other: Value) -> Value[src]

pub fn apply_cmp_ge(self, other: Value) -> Value[src]

pub fn apply_cmp_gt(self, other: Value) -> Value[src]

pub fn apply_sin(self) -> Value[src]

pub fn apply_cos(self) -> Value[src]

pub fn apply_tan(self) -> Value[src]

Trait Implementations

impl Clone for Value[src]

impl Debug for Value[src]

impl<'de> Deserialize<'de> for Value[src]

impl Eq for Value[src]

impl From<bool> for Value[src]

impl From<i64> for Value[src]

impl Hash for Value[src]

impl PartialEq<Value> for Value[src]

impl Serialize for Value[src]

impl StructuralEq for Value[src]

impl StructuralPartialEq for Value[src]

impl TryInto<bool> for Value[src]

type Error = String

The type returned in the event of a conversion error.

impl TryInto<f64> for Value[src]

type Error = String

The type returned in the event of a conversion error.

impl TryInto<i64> for Value[src]

type Error = String

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Value

impl Send for Value

impl Sync for Value

impl Unpin for Value

impl UnwindSafe for Value

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,