pub enum ScopedExprValue {
PerUnit(ExprValue),
Total(ExprValue),
}
Expand description
An ExprValue
which quantifies either a total or per-unit, but not both.
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 Freeze for ScopedExprValue
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