Enum currencies::safety::Unchecked
source · pub enum Unchecked {}
Expand description
Allows any operations with this Amount
.
This is a zero-sized enum and therefore cannot be instantiated. It can only be used in type bounds.
Trait Implementations§
source§impl Ord for Unchecked
impl Ord for Unchecked
source§impl PartialEq for Unchecked
impl PartialEq for Unchecked
source§impl PartialOrd for Unchecked
impl PartialOrd for Unchecked
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Unchecked
impl Eq for Unchecked
impl StructuralPartialEq for Unchecked
Auto Trait Implementations§
impl Freeze for Unchecked
impl RefUnwindSafe for Unchecked
impl Send for Unchecked
impl Sync for Unchecked
impl Unpin for Unchecked
impl UnwindSafe for Unchecked
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