pub enum ParamValue {
Const(Const),
Int(i64),
Float(u64),
String(String),
}
Variants§
Trait Implementations§
Source§impl Clone for ParamValue
impl Clone for ParamValue
Source§fn clone(&self) -> ParamValue
fn clone(&self) -> ParamValue
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ParamValue
impl Debug for ParamValue
Source§impl Display for ParamValue
impl Display for ParamValue
Source§impl From<&Const> for ParamValue
impl From<&Const> for ParamValue
Source§impl From<&str> for ParamValue
impl From<&str> for ParamValue
Source§impl From<Const> for ParamValue
impl From<Const> for ParamValue
Source§impl From<String> for ParamValue
impl From<String> for ParamValue
Source§impl From<Trit> for ParamValue
impl From<Trit> for ParamValue
Source§impl From<bool> for ParamValue
impl From<bool> for ParamValue
Source§impl From<i64> for ParamValue
impl From<i64> for ParamValue
Source§impl Hash for ParamValue
impl Hash for ParamValue
Source§impl Ord for ParamValue
impl Ord for ParamValue
Source§fn cmp(&self, other: &ParamValue) -> Ordering
fn cmp(&self, other: &ParamValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ParamValue
impl PartialEq for ParamValue
Source§impl PartialOrd for ParamValue
impl PartialOrd for ParamValue
impl Eq for ParamValue
impl StructuralPartialEq for ParamValue
Auto Trait Implementations§
impl Freeze for ParamValue
impl RefUnwindSafe for ParamValue
impl Send for ParamValue
impl Sync for ParamValue
impl Unpin for ParamValue
impl UnwindSafe for ParamValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.