pub enum ScopedExprValue {
PerUnit(ExprValue),
Total(ExprValue),
}Expand description
An ExprValue which quantifies a total or per-unit.
Variants§
Trait Implementations§
source§impl Clone for ScopedExprValue
impl Clone for ScopedExprValue
source§fn clone(&self) -> ScopedExprValue
fn clone(&self) -> ScopedExprValue
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 ScopedExprValue
impl Debug for ScopedExprValue
source§impl Display for ScopedExprValue
impl Display for ScopedExprValue
source§impl PartialEq for ScopedExprValue
impl PartialEq for ScopedExprValue
source§fn eq(&self, other: &ScopedExprValue) -> bool
fn eq(&self, other: &ScopedExprValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ScopedExprValue
impl StructuralPartialEq for ScopedExprValue
Auto Trait Implementations§
impl RefUnwindSafe for ScopedExprValue
impl Send for ScopedExprValue
impl Sync for ScopedExprValue
impl Unpin for ScopedExprValue
impl UnwindSafe for ScopedExprValue
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
§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