[−][src]Enum arnalisa::Item
Variants
Nothing
B(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 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]
Item: From<T>,
impl Ord for Item
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
clamp
)Restrict a value to a certain interval. Read more
impl PartialOrd<Item> for Item
[src]
fn partial_cmp(&self, other: &Item) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.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) -> bool
1.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) -> bool
1.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) -> bool
1.0.0[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Default for Item
[src]
impl Clone for Item
[src]
fn clone(&self) -> Item
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Item> for Item
[src]
fn eq(&self, other: &Item) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for Item
[src]
impl Debug for Item
[src]
impl Serialize for Item
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Item
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for Item
impl Send for Item
impl Sync for Item
impl RefUnwindSafe for Item
impl UnwindSafe for Item
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<T> PathLoad for T where
T: DeserializeOwned,
T: DeserializeOwned,
fn load_from_path<P>(path: P) -> Result<T, Error> where
P: AsRef<Path> + Debug,
P: AsRef<Path> + Debug,