[][src]Enum arnalisa::Item

pub enum Item {
    Nothing,
    B(bool),
    I8(i8),
    I16(i16),
    I32(i32),
    I64(i64),
    U8(u8),
    U16(u16),
    U32(u32),
    U64(u64),
    F32(R32),
    F64(R64),
}

Variants

NothingB(bool)I8(i8)I16(i16)I32(i32)I64(i64)U8(u8)U16(u16)U32(u32)U64(u64)F32(R32)F64(R64)

Methods

impl Item[src]

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

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

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

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

pub fn to_u64(&self) -> Result<u64>[src]

pub fn to_usize(&self) -> Result<usize>[src]

pub fn to_bool(&self) -> Result<bool>[src]

pub fn to_float(&self) -> Result<R64>[src]

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

pub fn to_unsigned(&self) -> Result<u64>[src]

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

pub fn to_signed(&self) -> Result<i64>[src]

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

Trait Implementations

impl Clone for Item[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Ord for Item[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Default for Item[src]

impl From<bool> for Item[src]

impl From<i8> for Item[src]

impl From<i16> for Item[src]

impl From<i32> for Item[src]

impl From<i64> for Item[src]

impl From<u8> for Item[src]

impl From<u16> for Item[src]

impl From<u32> for Item[src]

impl From<u64> for Item[src]

impl From<f64> for Item[src]

impl From<ConstrainedFloat<f64, FiniteConstraint<f64>>> for Item[src]

impl From<f32> for Item[src]

impl From<ConstrainedFloat<f32, FiniteConstraint<f32>>> for Item[src]

impl<T> From<Option<T>> for Item where
    Item: From<T>, 
[src]

impl PartialOrd<Item> for Item[src]

#[must_use] fn lt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use] fn le(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use] fn gt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use] fn ge(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq<Item> for Item[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Eq for Item[src]

impl Debug for Item[src]

impl Serialize for Item[src]

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

Auto Trait Implementations

impl Sync for Item

impl Send for Item

impl Unpin for Item

impl RefUnwindSafe for Item

impl UnwindSafe for Item

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> PathLoad for T where
    T: DeserializeOwned