[−][src]Struct correct::Correct
Implementations
impl<T: Num> Correct<T>
[src]
impl<T: SignedNum> Correct<T>
[src]
pub fn abs(self) -> Self
[src]
pub fn is_negative(self) -> bool
[src]
pub fn is_positive(self) -> bool
[src]
Trait Implementations
impl<T: Num> Add<Correct<T>> for Correct<T>
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> Self::Output
[src]
impl<T: Num> Add<T> for Correct<T>
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: T) -> Self::Output
[src]
impl<T: Num> AddAssign<Correct<T>> for Correct<T>
[src]
fn add_assign(&mut self, rhs: Self)
[src]
impl<T: Num> AddAssign<T> for Correct<T>
[src]
fn add_assign(&mut self, rhs: T)
[src]
impl<T: Num> BitAnd<Correct<T>> for Correct<T>
[src]
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, rhs: Self) -> Self::Output
[src]
impl<T: Num> BitAnd<T> for Correct<T>
[src]
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, rhs: T) -> Self::Output
[src]
impl<T: Num> BitAndAssign<Correct<T>> for Correct<T>
[src]
fn bitand_assign(&mut self, rhs: Self)
[src]
impl<T: Num> BitAndAssign<T> for Correct<T>
[src]
fn bitand_assign(&mut self, rhs: T)
[src]
impl<T: Num> BitOr<Correct<T>> for Correct<T>
[src]
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, rhs: Self) -> Self::Output
[src]
impl<T: Num> BitOr<T> for Correct<T>
[src]
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> Self::Output
[src]
impl<T: Num> BitOrAssign<Correct<T>> for Correct<T>
[src]
fn bitor_assign(&mut self, rhs: Self)
[src]
impl<T: Num> BitOrAssign<T> for Correct<T>
[src]
fn bitor_assign(&mut self, rhs: T)
[src]
impl<T: Num> BitXor<Correct<T>> for Correct<T>
[src]
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: Self) -> Self::Output
[src]
impl<T: Num> BitXor<T> for Correct<T>
[src]
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: T) -> Self::Output
[src]
impl<T: Num> BitXorAssign<Correct<T>> for Correct<T>
[src]
fn bitxor_assign(&mut self, rhs: Self)
[src]
impl<T: Num> BitXorAssign<T> for Correct<T>
[src]
fn bitxor_assign(&mut self, rhs: T)
[src]
impl<T: Clone + Num> Clone for Correct<T>
[src]
impl<T: Copy + Num> Copy for Correct<T>
[src]
impl<T: Num> Debug for Correct<T>
[src]
impl<T: Num> Display for Correct<T>
[src]
impl<T: Num> Div<Correct<T>> for Correct<T>
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: Self) -> Self::Output
[src]
impl<T: Num> Div<T> for Correct<T>
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: T) -> Self::Output
[src]
impl<T: Num> DivAssign<Correct<T>> for Correct<T>
[src]
fn div_assign(&mut self, rhs: Self)
[src]
impl<T: Num> DivAssign<T> for Correct<T>
[src]
fn div_assign(&mut self, rhs: T)
[src]
impl<T: Eq + Num> Eq for Correct<T>
[src]
impl<T: Num> From<T> for Correct<T>
[src]
impl<T: Num> Mul<Correct<T>> for Correct<T>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Self) -> Self::Output
[src]
impl<T: Num> Mul<T> for Correct<T>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: T) -> Self::Output
[src]
impl<T: Num> MulAssign<Correct<T>> for Correct<T>
[src]
fn mul_assign(&mut self, rhs: Self)
[src]
impl<T: Num> MulAssign<T> for Correct<T>
[src]
fn mul_assign(&mut self, rhs: T)
[src]
impl<T: SignedNum> Neg for Correct<T>
[src]
type Output = Self
The resulting type after applying the -
operator.
fn neg(self) -> Self::Output
[src]
impl<T: Num, R: PartialEq<T>> PartialEq<R> for Correct<T>
[src]
impl<T: Num> Rem<Correct<T>> for Correct<T>
[src]
type Output = Self
The resulting type after applying the %
operator.
fn rem(self, rhs: Self) -> Self::Output
[src]
impl<T: Num> Rem<T> for Correct<T>
[src]
type Output = Self
The resulting type after applying the %
operator.
fn rem(self, rhs: T) -> Self::Output
[src]
impl<T: Num> RemAssign<Correct<T>> for Correct<T>
[src]
fn rem_assign(&mut self, rhs: Self)
[src]
impl<T: Num> RemAssign<T> for Correct<T>
[src]
fn rem_assign(&mut self, rhs: T)
[src]
impl<T: Num> Send for Correct<T>
[src]
impl<T: Num> Shl<i128> for Correct<T>
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, rhs: i128) -> Self::Output
[src]
impl<T: Num> Shl<i32> for Correct<T>
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, rhs: i32) -> Self::Output
[src]
impl<T: Num> Shl<i64> for Correct<T>
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, rhs: i64) -> Self::Output
[src]
impl<T: Num> Shl<isize> for Correct<T>
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, rhs: isize) -> Self::Output
[src]
impl<T: Num> Shl<u128> for Correct<T>
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, rhs: u128) -> Self::Output
[src]
impl<T: Num> Shl<u32> for Correct<T>
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, rhs: u32) -> Self::Output
[src]
impl<T: Num> Shl<u64> for Correct<T>
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, rhs: u64) -> Self::Output
[src]
impl<T: Num> Shl<usize> for Correct<T>
[src]
type Output = Self
The resulting type after applying the <<
operator.
fn shl(self, rhs: usize) -> Self::Output
[src]
impl<T: Num> ShlAssign<i128> for Correct<T>
[src]
fn shl_assign(&mut self, rhs: i128)
[src]
impl<T: Num> ShlAssign<i32> for Correct<T>
[src]
fn shl_assign(&mut self, rhs: i32)
[src]
impl<T: Num> ShlAssign<i64> for Correct<T>
[src]
fn shl_assign(&mut self, rhs: i64)
[src]
impl<T: Num> ShlAssign<isize> for Correct<T>
[src]
fn shl_assign(&mut self, rhs: isize)
[src]
impl<T: Num> ShlAssign<u128> for Correct<T>
[src]
fn shl_assign(&mut self, rhs: u128)
[src]
impl<T: Num> ShlAssign<u32> for Correct<T>
[src]
fn shl_assign(&mut self, rhs: u32)
[src]
impl<T: Num> ShlAssign<u64> for Correct<T>
[src]
fn shl_assign(&mut self, rhs: u64)
[src]
impl<T: Num> ShlAssign<usize> for Correct<T>
[src]
fn shl_assign(&mut self, rhs: usize)
[src]
impl<T: Num> Shr<i128> for Correct<T>
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, rhs: i128) -> Self::Output
[src]
impl<T: Num> Shr<i32> for Correct<T>
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, rhs: i32) -> Self::Output
[src]
impl<T: Num> Shr<i64> for Correct<T>
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, rhs: i64) -> Self::Output
[src]
impl<T: Num> Shr<isize> for Correct<T>
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, rhs: isize) -> Self::Output
[src]
impl<T: Num> Shr<u128> for Correct<T>
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, rhs: u128) -> Self::Output
[src]
impl<T: Num> Shr<u32> for Correct<T>
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, rhs: u32) -> Self::Output
[src]
impl<T: Num> Shr<u64> for Correct<T>
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, rhs: u64) -> Self::Output
[src]
impl<T: Num> Shr<usize> for Correct<T>
[src]
type Output = Self
The resulting type after applying the >>
operator.
fn shr(self, rhs: usize) -> Self::Output
[src]
impl<T: Num> ShrAssign<i128> for Correct<T>
[src]
fn shr_assign(&mut self, rhs: i128)
[src]
impl<T: Num> ShrAssign<i32> for Correct<T>
[src]
fn shr_assign(&mut self, rhs: i32)
[src]
impl<T: Num> ShrAssign<i64> for Correct<T>
[src]
fn shr_assign(&mut self, rhs: i64)
[src]
impl<T: Num> ShrAssign<isize> for Correct<T>
[src]
fn shr_assign(&mut self, rhs: isize)
[src]
impl<T: Num> ShrAssign<u128> for Correct<T>
[src]
fn shr_assign(&mut self, rhs: u128)
[src]
impl<T: Num> ShrAssign<u32> for Correct<T>
[src]
fn shr_assign(&mut self, rhs: u32)
[src]
impl<T: Num> ShrAssign<u64> for Correct<T>
[src]
fn shr_assign(&mut self, rhs: u64)
[src]
impl<T: Num> ShrAssign<usize> for Correct<T>
[src]
fn shr_assign(&mut self, rhs: usize)
[src]
impl<T: Num> StructuralEq for Correct<T>
[src]
impl<T: Num> Sub<Correct<T>> for Correct<T>
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Self) -> Self::Output
[src]
impl<T: Num> Sub<T> for Correct<T>
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: T) -> Self::Output
[src]
impl<T: Num> SubAssign<Correct<T>> for Correct<T>
[src]
fn sub_assign(&mut self, rhs: Self)
[src]
impl<T: Num> SubAssign<T> for Correct<T>
[src]
fn sub_assign(&mut self, rhs: T)
[src]
impl<T: Num> Sync for Correct<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Correct<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Unpin for Correct<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Correct<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<!> for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,