pub struct Subtraction;
Implementations§
Trait Implementations§
Source§impl<A, B, C> BinOp<A, B> for Subtractionwhere
A: Sub<B, Output = C>,
impl<A, B, C> BinOp<A, B> for Subtractionwhere
A: Sub<B, Output = C>,
Source§impl Clone for Subtraction
impl Clone for Subtraction
Source§fn clone(&self) -> Subtraction
fn clone(&self) -> Subtraction
Returns a duplicate 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 Subtraction
impl Debug for Subtraction
Source§impl Default for Subtraction
impl Default for Subtraction
Source§fn default() -> Subtraction
fn default() -> Subtraction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Subtraction
impl<'de> Deserialize<'de> for Subtraction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for Subtraction
impl Display for Subtraction
Source§impl Hash for Subtraction
impl Hash for Subtraction
Source§impl Operand for Subtraction
impl Operand for Subtraction
Source§impl Ord for Subtraction
impl Ord for Subtraction
Source§fn cmp(&self, other: &Subtraction) -> Ordering
fn cmp(&self, other: &Subtraction) -> 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 Subtraction
impl PartialEq for Subtraction
Source§impl PartialOrd for Subtraction
impl PartialOrd for Subtraction
Source§impl Serialize for Subtraction
impl Serialize for Subtraction
impl Copy for Subtraction
impl Eq for Subtraction
impl StructuralPartialEq for Subtraction
Auto Trait Implementations§
impl Freeze for Subtraction
impl RefUnwindSafe for Subtraction
impl Send for Subtraction
impl Sync for Subtraction
impl Unpin for Subtraction
impl UnwindSafe for Subtraction
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