GreaterOpr

Trait GreaterOpr 

Source
pub trait GreaterOpr<T, Rhs = T>: ComparisonOperator<T, Rhs> {
    // Provided method
    fn precision(&self) -> Option<&T> { ... }
}

Provided Methods§

Source

fn precision(&self) -> Option<&T>

Trait Implementations§

Source§

impl<T, Rhs> Fn(&T, &Rhs) for &dyn GreaterOpr<T, Rhs>

Source§

extern "rust-call" fn call(&self, (x, y): (&T, &Rhs)) -> Self::Output

🔬This is a nightly-only experimental API. (fn_traits)
Performs the call operation.
Source§

impl<T, Rhs> Fn(&T, &Rhs) for Box<dyn GreaterOpr<T, Rhs>>

Source§

extern "rust-call" fn call(&self, (x, y): (&T, &Rhs)) -> Self::Output

🔬This is a nightly-only experimental API. (fn_traits)
Performs the call operation.
Source§

impl<T, Rhs> FnMut(&T, &Rhs) for &dyn GreaterOpr<T, Rhs>

Source§

extern "rust-call" fn call_mut( &mut self, (x, y): (&T, &Rhs), ) -> Self::Output

🔬This is a nightly-only experimental API. (fn_traits)
Performs the call operation.
Source§

impl<T, Rhs> FnMut(&T, &Rhs) for Box<dyn GreaterOpr<T, Rhs>>

Source§

extern "rust-call" fn call_mut( &mut self, (x, y): (&T, &Rhs), ) -> Self::Output

🔬This is a nightly-only experimental API. (fn_traits)
Performs the call operation.
Source§

impl<T, Rhs> FnOnce(&T, &Rhs) for &dyn GreaterOpr<T, Rhs>

Source§

type Output = bool

The returned type after the call operator is used.
Source§

extern "rust-call" fn call_once( self, (x, y): (&T, &Rhs), ) -> Self::Output

🔬This is a nightly-only experimental API. (fn_traits)
Performs the call operation.
Source§

impl<T, Rhs> FnOnce(&T, &Rhs) for Box<dyn GreaterOpr<T, Rhs>>

Source§

type Output = bool

The returned type after the call operator is used.
Source§

extern "rust-call" fn call_once( self, (x, y): (&T, &Rhs), ) -> Self::Output

🔬This is a nightly-only experimental API. (fn_traits)
Performs the call operation.

Implementors§

Source§

impl<T: SemiArithmetic + PartialOrd<Rhs>, Rhs> GreaterOpr<T, Rhs> for GreaterInt

Source§

impl<T: PartialOrd<Rhs>, Rhs> GreaterOpr<T, Rhs> for GreaterFlt<T>
where for<'a> &'a T: Sub, for<'a> <&'a T as Sub>::Output: PartialOrd<Rhs>,

Source§

impl<T: PartialOrd<Rhs>, Rhs> GreaterOpr<T, Rhs> for GreaterInt