pub enum TopQuantity {
Expr(Expr),
Constant(u64),
}
Variants§
Trait Implementations§
Source§impl Clone for TopQuantity
impl Clone for TopQuantity
Source§fn clone(&self) -> TopQuantity
fn clone(&self) -> TopQuantity
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 TopQuantity
impl Debug for TopQuantity
Source§impl Hash for TopQuantity
impl Hash for TopQuantity
Source§impl Ord for TopQuantity
impl Ord for TopQuantity
Source§fn cmp(&self, other: &TopQuantity) -> Ordering
fn cmp(&self, other: &TopQuantity) -> 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 TopQuantity
impl PartialEq for TopQuantity
Source§impl PartialOrd for TopQuantity
impl PartialOrd for TopQuantity
impl Eq for TopQuantity
impl StructuralPartialEq for TopQuantity
Auto Trait Implementations§
impl Freeze for TopQuantity
impl RefUnwindSafe for TopQuantity
impl Send for TopQuantity
impl Sync for TopQuantity
impl Unpin for TopQuantity
impl UnwindSafe for TopQuantity
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