pub enum Value {
String(String),
Int(i64),
Float(WellBehavedF64),
Bool(bool),
Array(Array),
}
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
impl<A, B, C, D, E, F, G, H, I, J, K, L> From<(A, B, C, D, E, F, G, H, I, J, K, L)> for Value where
C: Into<Value>,
E: Into<Value>,
F: Into<Value>,
B: Into<Value>,
I: Into<Value>,
K: Into<Value>,
A: Into<Value>,
H: Into<Value>,
G: Into<Value>,
J: Into<Value>,
L: Into<Value>,
D: Into<Value>,
pub fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L)) -> Value
impl<B, C, D, E, F, G, H, I, J, K, L> From<(B, C, D, E, F, G, H, I, J, K, L)> for Value where
C: Into<Value>,
E: Into<Value>,
F: Into<Value>,
B: Into<Value>,
I: Into<Value>,
K: Into<Value>,
H: Into<Value>,
G: Into<Value>,
J: Into<Value>,
L: Into<Value>,
D: Into<Value>,
pub fn from(v: (B, C, D, E, F, G, H, I, J, K, L)) -> Value
impl<C, D, E, F, G, H, I, J, K, L> From<(C, D, E, F, G, H, I, J, K, L)> for Value where
C: Into<Value>,
E: Into<Value>,
F: Into<Value>,
I: Into<Value>,
K: Into<Value>,
H: Into<Value>,
G: Into<Value>,
J: Into<Value>,
L: Into<Value>,
D: Into<Value>,
pub fn from(v: (C, D, E, F, G, H, I, J, K, L)) -> Value
impl<D, E, F, G, H, I, J, K, L> From<(D, E, F, G, H, I, J, K, L)> for Value where
E: Into<Value>,
F: Into<Value>,
I: Into<Value>,
K: Into<Value>,
H: Into<Value>,
G: Into<Value>,
J: Into<Value>,
L: Into<Value>,
D: Into<Value>,
impl<E, F, G, H, I, J, K, L> From<(E, F, G, H, I, J, K, L)> for Value where
E: Into<Value>,
F: Into<Value>,
I: Into<Value>,
K: Into<Value>,
H: Into<Value>,
G: Into<Value>,
J: Into<Value>,
L: Into<Value>,
impl<F, G, H, I, J, K, L> From<(F, G, H, I, J, K, L)> for Value where
F: Into<Value>,
I: Into<Value>,
K: Into<Value>,
H: Into<Value>,
G: Into<Value>,
J: Into<Value>,
L: Into<Value>,
impl<G, H, I, J, K, L> From<(G, H, I, J, K, L)> for Value where
I: Into<Value>,
K: Into<Value>,
H: Into<Value>,
G: Into<Value>,
J: Into<Value>,
L: Into<Value>,
impl<H, I, J, K, L> From<(H, I, J, K, L)> for Value where
I: Into<Value>,
K: Into<Value>,
H: Into<Value>,
J: Into<Value>,
L: Into<Value>,
impl<I, J, K, L> From<(I, J, K, L)> for Value where
I: Into<Value>,
K: Into<Value>,
J: Into<Value>,
L: Into<Value>,
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
Restrict a value to a certain interval. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String
. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.