pub enum MeasureScalar {
Int(i64),
Real(f64),
}Expand description
select-of-scalars: Some(type_name) = typed member TYPE(v); None = bare.
value is int-or-real because EXPRESS number members (count_measure,
numeric_measure) admit both; the token is preserved (2 stays 2, not 2.0).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MeasureScalar
impl Clone for MeasureScalar
Source§fn clone(&self) -> MeasureScalar
fn clone(&self) -> MeasureScalar
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MeasureScalar
impl Debug for MeasureScalar
Source§impl PartialEq for MeasureScalar
impl PartialEq for MeasureScalar
Source§fn eq(&self, other: &MeasureScalar) -> bool
fn eq(&self, other: &MeasureScalar) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MeasureScalar
Auto Trait Implementations§
impl Freeze for MeasureScalar
impl RefUnwindSafe for MeasureScalar
impl Send for MeasureScalar
impl Sync for MeasureScalar
impl Unpin for MeasureScalar
impl UnsafeUnpin for MeasureScalar
impl UnwindSafe for MeasureScalar
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