Struct fin::Dirty
[−]
[src]
pub struct Dirty<F: Float>(_);
Methods
impl<F: Float> Dirty<F>
[src]
Trait Implementations
impl<B, F> Add<B> for Dirty<F> where
F: Float,
B: UncheckedConv<F>,
[src]
F: Float,
B: UncheckedConv<F>,
type Output = Dirty<F>
The resulting type after applying the +
operator.
fn add(self, other: B) -> Self::Output
[src]
Performs the +
operation.
impl<B, F> Mul<B> for Dirty<F> where
F: Float,
B: UncheckedConv<F>,
[src]
F: Float,
B: UncheckedConv<F>,
type Output = Dirty<F>
The resulting type after applying the *
operator.
fn mul(self, other: B) -> Self::Output
[src]
Performs the *
operation.
impl<F> Neg for Dirty<F> where
F: Float,
[src]
F: Float,
type Output = Dirty<F>
The resulting type after applying the -
operator.
fn neg(self) -> Self::Output
[src]
Performs the unary -
operation.
impl<B, F> PartialEq<B> for Dirty<F> where
B: UncheckedConv<F> + Copy,
F: Float,
[src]
B: UncheckedConv<F> + Copy,
F: Float,
fn eq(&self, other: &B) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<B, F> PartialOrd<B> for Dirty<F> where
B: UncheckedConv<F> + Copy,
F: Float,
[src]
B: UncheckedConv<F> + Copy,
F: Float,
fn partial_cmp(&self, other: &B) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &B) -> bool
[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &B) -> bool
[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &B) -> bool
[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &B) -> bool
[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl<F: Debug + Float> Debug for Dirty<F>
[src]
impl<F: Copy + Float> Copy for Dirty<F>
[src]
impl<F: Clone + Float> Clone for Dirty<F>
[src]
fn clone(&self) -> Dirty<F>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<F> FinFloat<F> for Dirty<F> where
F: Float,
Dirty<F>: UncheckedConv<F>,
[src]
F: Float,
Dirty<F>: UncheckedConv<F>,
fn floor(self) -> Self
[src]
fn ceil(self) -> Self
[src]
fn round(self) -> Self
[src]
fn fract(self) -> Self
[src]
fn abs(self) -> Self
[src]
fn signum(self) -> Self
[src]
fn to_radians(self) -> Self
[src]
fn cbrt(self) -> Self
[src]
fn hypot<O: UncheckedConv<F> + Copy>(self, o: O) -> Self
[src]
fn sin(self) -> Self
[src]
fn cos(self) -> Self
[src]
fn tan(self) -> Self
[src]
fn atan(self) -> Self
[src]
fn atan2<O: UncheckedConv<F> + Copy>(self, o: O) -> Self
[src]
fn tanh(self) -> Self
[src]
fn sin_cos(self) -> (Self, Self)
[src]
fn mul_add<A: UncheckedConv<F> + Copy, B: UncheckedConv<F> + Copy>(
self,
a: A,
b: B
) -> Dirty<F>
[src]
self,
a: A,
b: B
) -> Dirty<F>