CF32

Struct CF32 

Source
pub struct CF32(pub f32, pub f32);

Tuple Fields§

§0: f32§1: f32

Implementations§

Source§

impl CF32

Source

pub fn abs(self) -> Self

Source

pub fn recip(self) -> Self

Source

pub fn sqrt(self) -> Self

Source

pub fn exp(self) -> Self

Source

pub fn arg(self) -> Self

Source

pub fn ln(self) -> Self

Source

pub fn log2(self) -> Self

Source

pub fn log10(self) -> Self

Source

pub fn cbrt(self) -> Self

Source

pub fn conj(self) -> Self

Source

pub fn sin(self) -> Self

Source

pub fn cos(self) -> Self

Source

pub fn tan(self) -> Self

Source

pub fn asin(self) -> Self

Source

pub fn acos(self) -> Self

Source

pub fn atan(self) -> Self

Source

pub fn atan2(self, other: Self) -> Self

Source

pub fn sinh(self) -> Self

Source

pub fn cosh(self) -> Self

Source

pub fn tanh(self) -> Self

Source

pub fn asinh(self) -> Self

Source

pub fn acosh(self) -> Self

Source

pub fn atanh(self) -> Self

Source

pub fn sin_cos(self) -> (Self, Self)

Source

pub fn sinh_cosh(self) -> (Self, Self)

Source

pub fn is_nan(self) -> bool

Source

pub fn is_infinite(self) -> bool

Source

pub fn is_finite(self) -> bool

Trait Implementations§

Source§

impl Add<&CF32> for CF32

Source§

type Output = CF32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &CF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<CF32> for f32

Source§

type Output = CF32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: CF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<CF32> for f64

Source§

type Output = CF32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: CF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<CF32> for i32

Source§

type Output = CF32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: CF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<CF32> for u128

Source§

type Output = CF32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: CF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<CF32> for u64

Source§

type Output = CF32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: CF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<f32> for CF32

Source§

type Output = CF32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<f64> for CF32

Source§

type Output = CF32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<i32> for CF32

Source§

type Output = CF32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<u128> for CF32

Source§

type Output = CF32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u128) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<u64> for CF32

Source§

type Output = CF32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for CF32

Source§

type Output = CF32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: CF32) -> Self::Output

Performs the + operation. Read more
Source§

impl AddAssign<&CF32> for CF32

Source§

fn add_assign(&mut self, rhs: &CF32)

Performs the += operation. Read more
Source§

impl AddAssign<f32> for CF32

Source§

fn add_assign(&mut self, rhs: f32)

Performs the += operation. Read more
Source§

impl AddAssign<f64> for CF32

Source§

fn add_assign(&mut self, rhs: f64)

Performs the += operation. Read more
Source§

impl AddAssign<i32> for CF32

Source§

fn add_assign(&mut self, rhs: i32)

Performs the += operation. Read more
Source§

impl AddAssign<u128> for CF32

Source§

fn add_assign(&mut self, rhs: u128)

Performs the += operation. Read more
Source§

impl AddAssign<u64> for CF32

Source§

fn add_assign(&mut self, rhs: u64)

Performs the += operation. Read more
Source§

impl AddAssign for CF32

Source§

fn add_assign(&mut self, rhs: CF32)

Performs the += operation. Read more
Source§

impl Clone for CF32

Source§

fn clone(&self) -> CF32

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'de> Deserialize<'de> for CF32

Source§

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 CF32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Div<&CF32> for CF32

Source§

type Output = CF32

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &CF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<CF32> for f32

Source§

type Output = CF32

The resulting type after applying the / operator.
Source§

fn div(self, rhs: CF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<CF32> for f64

Source§

type Output = CF32

The resulting type after applying the / operator.
Source§

fn div(self, rhs: CF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<CF32> for i32

Source§

type Output = CF32

The resulting type after applying the / operator.
Source§

fn div(self, rhs: CF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<CF32> for u128

Source§

type Output = CF32

The resulting type after applying the / operator.
Source§

fn div(self, rhs: CF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<CF32> for u64

Source§

type Output = CF32

The resulting type after applying the / operator.
Source§

fn div(self, rhs: CF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<f32> for CF32

Source§

type Output = CF32

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<f64> for CF32

Source§

type Output = CF32

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<i32> for CF32

Source§

type Output = CF32

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<u128> for CF32

Source§

type Output = CF32

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u128) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<u64> for CF32

Source§

type Output = CF32

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for CF32

Source§

type Output = CF32

The resulting type after applying the / operator.
Source§

fn div(self, rhs: CF32) -> Self::Output

Performs the / operation. Read more
Source§

impl DivAssign<&CF32> for CF32

Source§

fn div_assign(&mut self, rhs: &CF32)

Performs the /= operation. Read more
Source§

impl DivAssign<f32> for CF32

Source§

fn div_assign(&mut self, rhs: f32)

Performs the /= operation. Read more
Source§

impl DivAssign<f64> for CF32

Source§

fn div_assign(&mut self, rhs: f64)

Performs the /= operation. Read more
Source§

impl DivAssign<i32> for CF32

Source§

fn div_assign(&mut self, rhs: i32)

Performs the /= operation. Read more
Source§

impl DivAssign<u128> for CF32

Source§

fn div_assign(&mut self, rhs: u128)

Performs the /= operation. Read more
Source§

impl DivAssign<u64> for CF32

Source§

fn div_assign(&mut self, rhs: u64)

Performs the /= operation. Read more
Source§

impl DivAssign for CF32

Source§

fn div_assign(&mut self, rhs: CF32)

Performs the /= operation. Read more
Source§

impl From<(f32, f32)> for CF32

Source§

fn from((a, b): (f32, f32)) -> Self

Converts to this type from the input type.
Source§

impl From<f32> for CF32

Source§

fn from(value: f32) -> Self

Converts to this type from the input type.
Source§

impl Mul<&CF32> for CF32

Source§

type Output = CF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &CF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<CF32> for f32

Source§

type Output = CF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: CF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<CF32> for f64

Source§

type Output = CF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: CF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<CF32> for i32

Source§

type Output = CF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: CF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<CF32> for u128

Source§

type Output = CF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: CF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<CF32> for u64

Source§

type Output = CF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: CF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<f32> for CF32

Source§

type Output = CF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<f64> for CF32

Source§

type Output = CF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<i32> for CF32

Source§

type Output = CF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<u128> for CF32

Source§

type Output = CF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u128) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<u64> for CF32

Source§

type Output = CF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for CF32

Source§

type Output = CF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: CF32) -> Self::Output

Performs the * operation. Read more
Source§

impl MulAssign<&CF32> for CF32

Source§

fn mul_assign(&mut self, rhs: &CF32)

Performs the *= operation. Read more
Source§

impl MulAssign<f32> for CF32

Source§

fn mul_assign(&mut self, rhs: f32)

Performs the *= operation. Read more
Source§

impl MulAssign<f64> for CF32

Source§

fn mul_assign(&mut self, rhs: f64)

Performs the *= operation. Read more
Source§

impl MulAssign<i32> for CF32

Source§

fn mul_assign(&mut self, rhs: i32)

Performs the *= operation. Read more
Source§

impl MulAssign<u128> for CF32

Source§

fn mul_assign(&mut self, rhs: u128)

Performs the *= operation. Read more
Source§

impl MulAssign<u64> for CF32

Source§

fn mul_assign(&mut self, rhs: u64)

Performs the *= operation. Read more
Source§

impl MulAssign for CF32

Source§

fn mul_assign(&mut self, rhs: CF32)

Performs the *= operation. Read more
Source§

impl<'a> Neg for &'a CF32

Source§

type Output = CF32

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for CF32

Source§

type Output = CF32

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl PartialEq for CF32

Source§

fn eq(&self, other: &CF32) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Pow<f32> for CF32

Source§

fn pow(self, rhs: f32) -> Self

Source§

impl Pow<f64> for CF32

Source§

fn pow(self, rhs: f64) -> Self

Source§

impl Pow<i32> for CF32

Source§

fn pow(self, rhs: i32) -> Self

Source§

impl Pow<u128> for CF32

Source§

fn pow(self, rhs: u128) -> Self

Source§

impl Pow<u64> for CF32

Source§

fn pow(self, rhs: u64) -> Self

Source§

impl Prec for CF32

Source§

fn prec(&self) -> u32

Source§

fn set_prec(&mut self, _: u32)

Source§

impl Rt<f32> for CF32

Source§

fn root(self, rhs: f32) -> Self

Source§

impl Rt<f64> for CF32

Source§

fn root(self, rhs: f64) -> Self

Source§

impl Rt<i32> for CF32

Source§

fn root(self, rhs: i32) -> Self

Source§

impl Rt<u128> for CF32

Source§

fn root(self, rhs: u128) -> Self

Source§

impl Rt<u64> for CF32

Source§

fn root(self, rhs: u64) -> Self

Source§

impl Serialize for CF32

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Sub<&CF32> for CF32

Source§

type Output = CF32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &CF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<CF32> for f32

Source§

type Output = CF32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: CF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<CF32> for f64

Source§

type Output = CF32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: CF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<CF32> for i32

Source§

type Output = CF32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: CF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<CF32> for u128

Source§

type Output = CF32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: CF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<CF32> for u64

Source§

type Output = CF32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: CF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<f32> for CF32

Source§

type Output = CF32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<f64> for CF32

Source§

type Output = CF32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<i32> for CF32

Source§

type Output = CF32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<u128> for CF32

Source§

type Output = CF32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u128) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<u64> for CF32

Source§

type Output = CF32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for CF32

Source§

type Output = CF32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: CF32) -> Self::Output

Performs the - operation. Read more
Source§

impl SubAssign<&CF32> for CF32

Source§

fn sub_assign(&mut self, rhs: &CF32)

Performs the -= operation. Read more
Source§

impl SubAssign<f32> for CF32

Source§

fn sub_assign(&mut self, rhs: f32)

Performs the -= operation. Read more
Source§

impl SubAssign<f64> for CF32

Source§

fn sub_assign(&mut self, rhs: f64)

Performs the -= operation. Read more
Source§

impl SubAssign<i32> for CF32

Source§

fn sub_assign(&mut self, rhs: i32)

Performs the -= operation. Read more
Source§

impl SubAssign<u128> for CF32

Source§

fn sub_assign(&mut self, rhs: u128)

Performs the -= operation. Read more
Source§

impl SubAssign<u64> for CF32

Source§

fn sub_assign(&mut self, rhs: u64)

Performs the -= operation. Read more
Source§

impl SubAssign for CF32

Source§

fn sub_assign(&mut self, rhs: CF32)

Performs the -= operation. Read more
Source§

impl Copy for CF32

Source§

impl StructuralPartialEq for CF32

Auto Trait Implementations§

§

impl Freeze for CF32

§

impl RefUnwindSafe for CF32

§

impl Send for CF32

§

impl Sync for CF32

§

impl Unpin for CF32

§

impl UnwindSafe for CF32

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<U> As for U

Source§

fn as_<T>(self) -> T
where T: CastFrom<U>,

Casts self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read more
Source§

impl<T> Az for T

Source§

fn az<Dst>(self) -> Dst
where T: Cast<Dst>,

Casts the value.
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<Src, Dst> CastFrom<Src> for Dst
where Src: Cast<Dst>,

Source§

fn cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T> CheckedAs for T

Source§

fn checked_as<Dst>(self) -> Option<Dst>
where T: CheckedCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> CheckedCastFrom<Src> for Dst
where Src: CheckedCast<Dst>,

Source§

fn checked_cast_from(src: Src) -> Option<Dst>

Casts the value.
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> OverflowingAs for T

Source§

fn overflowing_as<Dst>(self) -> (Dst, bool)
where T: OverflowingCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> OverflowingCastFrom<Src> for Dst
where Src: OverflowingCast<Dst>,

Source§

fn overflowing_cast_from(src: Src) -> (Dst, bool)

Casts the value.
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> SaturatingAs for T

Source§

fn saturating_as<Dst>(self) -> Dst
where T: SaturatingCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> SaturatingCastFrom<Src> for Dst
where Src: SaturatingCast<Dst>,

Source§

fn saturating_cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> UnwrappedAs for T

Source§

fn unwrapped_as<Dst>(self) -> Dst
where T: UnwrappedCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> UnwrappedCastFrom<Src> for Dst
where Src: UnwrappedCast<Dst>,

Source§

fn unwrapped_cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T> WrappingAs for T

Source§

fn wrapping_as<Dst>(self) -> Dst
where T: WrappingCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> WrappingCastFrom<Src> for Dst
where Src: WrappingCast<Dst>,

Source§

fn wrapping_cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,