#[non_exhaustive]pub enum ScaledQuantity {
Generation,
Load,
Import,
Export,
}Expand description
What a SCALE ALL line scales.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Generation
SCALE ALL GENERATION.
Load
SCALE ALL LOAD.
Import
SCALE ALL FOR IMPORT.
Export
SCALE ALL FOR EXPORT.
Trait Implementations§
Source§impl Clone for ScaledQuantity
impl Clone for ScaledQuantity
Source§fn clone(&self) -> ScaledQuantity
fn clone(&self) -> ScaledQuantity
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 moreimpl Copy for ScaledQuantity
Source§impl Debug for ScaledQuantity
impl Debug for ScaledQuantity
impl Eq for ScaledQuantity
Source§impl PartialEq for ScaledQuantity
impl PartialEq for ScaledQuantity
impl StructuralPartialEq for ScaledQuantity
Auto Trait Implementations§
impl Freeze for ScaledQuantity
impl RefUnwindSafe for ScaledQuantity
impl Send for ScaledQuantity
impl Sync for ScaledQuantity
impl Unpin for ScaledQuantity
impl UnsafeUnpin for ScaledQuantity
impl UnwindSafe for ScaledQuantity
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> 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.§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