Expand description
Evaluation cost. This is a context relative measure of how expensive it is to handle something. In the interpreter contexts, this is most likely an approximation of the count of the smallest significant step in interpretation evaluating given program will be equivalent to. In the formatting contexts, this is most likely a measure of how much allocation will be performed. In histogram plotting, this is simply a guessed at indicator of what multiple of the fastest observed plotting time the generated data will take.
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.
Bounded(u64)
Unbounded(u64)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Price
impl Send for Price
impl Sync for Price
impl Unpin for Price
impl UnwindSafe for Price
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more