Struct Complex

Source
pub struct Complex<T> { /* private fields */ }
Expand description

Complex number.

Implementations§

Source§

impl<T> Complex<T>

Source

pub fn new(w: T, x: T) -> Self

Source

pub fn from_vector(vec: Vector2<T>) -> Self

Source

pub fn from_array(arr: [T; 2]) -> Self

Source

pub fn from_tuple(tup: (T, T)) -> Self

Source

pub fn from_num(nc: NumComplex<T>) -> Self

Source

pub fn into_vector(self) -> Vector2<T>

Source

pub fn into_array(self) -> [T; 2]

Source

pub fn into_tuple(self) -> (T, T)

Source

pub fn into_num(self) -> NumComplex<T>

Source§

impl<T: Copy> Complex<T>

Source

pub fn re(&self) -> T

Source

pub fn im(&self) -> T

Source§

impl<T> Complex<T>

Source

pub fn re_ref(&self) -> &T

Source

pub fn im_ref(&self) -> &T

Source

pub fn re_mut(&mut self) -> &mut T

Source

pub fn im_mut(&mut self) -> &mut T

Source§

impl<T> Complex<T>
where T: Neg<Output = T> + Copy,

Source

pub fn into_matrix(self) -> Matrix2x2<T>

Source§

impl<T> Complex<T>
where T: Neg<Output = T>,

Source

pub fn conj(self) -> Self

Source§

impl<T> Complex<T>
where T: Zero + One,

Source

pub fn i() -> Self

Source§

impl<T> Complex<T>
where T: Add<Output = T> + Mul<Output = T> + Copy,

Source

pub fn norm_sqr(self) -> T

Source§

impl<T: Float> Complex<T>

Source

pub fn norm(self) -> T

Source

pub fn arg(self) -> T

Source

pub fn to_polar(self) -> (T, T)

Source

pub fn from_polar(r: T, theta: T) -> Self

Source§

impl<T> Complex<T>
where T: Float,

Source

pub fn normalize(self) -> Self

Source§

impl<T> Complex<T>
where T: Neg<Output = T> + Num + Copy,

Source

pub fn inv(self) -> Self

Source§

impl<T: Num + Copy> Complex<T>

Source

pub fn powu(&self, exp: u32) -> Self

Source§

impl<T: Neg<Output = T> + Num + Copy> Complex<T>

Source

pub fn powi(&self, exp: i32) -> Self

Source§

impl<T: Float> Complex<T>

Source

pub fn exp(self) -> Self

Source

pub fn ln(self) -> Self

Source

pub fn sqrt(self) -> Self

Source

pub fn cbrt(self) -> Self

Source

pub fn powf(self, exp: T) -> Self

Source

pub fn log(self, base: T) -> Self

Source

pub fn powc(self, exp: Self) -> Self

Source

pub fn expf(self, base: T) -> 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 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 finv(self) -> Self

Source

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

Trait Implementations§

Source§

impl<T> AbsDiffEq for Complex<T>
where T: AbsDiffEq<Epsilon = T> + Copy,

Source§

type Epsilon = T

Used for specifying relative comparisons.
Source§

fn default_epsilon() -> Self::Epsilon

The default tolerance to use when testing values that are close together. Read more
Source§

fn abs_diff_eq(&self, other: &Self, epsilon: Self::Epsilon) -> bool

A test for equality that uses the absolute difference to compute the approximate equality of two numbers.
Source§

fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool

The inverse of AbsDiffEq::abs_diff_eq.
Source§

impl<T> Add<Complex<T>> for Quaternion<T>
where T: Add<Output = T>,

Source§

type Output = Quaternion<T>

The resulting type after applying the + operator.
Source§

fn add(self, other: Complex<T>) -> Self

Performs the + operation. Read more
Source§

impl Add<Complex<f32>> for f32

Workaround for reverse addition.

Source§

type Output = Complex<f32>

The resulting type after applying the + operator.
Source§

fn add(self, other: Complex<f32>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Complex<f64>> for f64

Workaround for reverse addition.

Source§

type Output = Complex<f64>

The resulting type after applying the + operator.
Source§

fn add(self, other: Complex<f64>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Quaternion<f32>> for Complex<f32>

Workaround for reverse addition.

Source§

type Output = Quaternion<f32>

The resulting type after applying the + operator.
Source§

fn add(self, other: Quaternion<f32>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Quaternion<f64>> for Complex<f64>

Workaround for reverse addition.

Source§

type Output = Quaternion<f64>

The resulting type after applying the + operator.
Source§

fn add(self, other: Quaternion<f64>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T> Add<T> for Complex<T>
where T: Add<Output = T>,

Source§

type Output = Complex<T>

The resulting type after applying the + operator.
Source§

fn add(self, other: T) -> Self

Performs the + operation. Read more
Source§

impl<T> Add for Complex<T>
where T: Add<Output = T>,

Source§

type Output = Complex<T>

The resulting type after applying the + operator.
Source§

fn add(self, other: Self) -> Self

Performs the + operation. Read more
Source§

impl<T> AddAssign<Complex<T>> for Quaternion<T>
where T: AddAssign,

Source§

fn add_assign(&mut self, other: Complex<T>)

Performs the += operation. Read more
Source§

impl<T> AddAssign<T> for Complex<T>
where T: AddAssign,

Source§

fn add_assign(&mut self, other: T)

Performs the += operation. Read more
Source§

impl<T> AddAssign for Complex<T>
where T: AddAssign,

Source§

fn add_assign(&mut self, other: Self)

Performs the += operation. Read more
Source§

impl<T: Clone> Clone for Complex<T>

Source§

fn clone(&self) -> Complex<T>

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<T> Conj for Complex<T>
where T: Neg<Output = T>,

Source§

fn conj(self) -> Self

Perform complex conjugation.
Source§

impl<T: Debug> Debug for Complex<T>

Source§

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

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

impl<T: Default> Default for Complex<T>

Source§

fn default() -> Complex<T>

Returns the “default value” for a type. Read more
Source§

impl<T> Directional<Complex<T>> for Moebius<Complex<T>>
where Self: Transform<Complex<T>>, Complex<T>: Normalize,

Source§

fn apply_dir(&self, pos: Complex<T>, dir: Complex<T>) -> Complex<T>

Returns the result of the direction transformation at the specified position.
Source§

fn apply_normal(&self, pos: Complex<T>, normal: Complex<T>) -> Complex<T>

Returns the result of the normal transformation at the specified position. Read more
Source§

impl<T: Display> Display for Complex<T>

Source§

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

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

impl<T: Float> Distribution<Complex<T>> for NonZero
where NonZero: Distribution<Vector<T, 2>>,

Source§

fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Complex<T>

Generate a random value of T, using rng as the source of randomness.
Source§

fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>
where R: Rng, Self: Sized,

Create an iterator that generates random values of T, using rng as the source of randomness. Read more
Source§

fn map<F, S>(self, func: F) -> DistMap<Self, F, T, S>
where F: Fn(T) -> S, Self: Sized,

Create a distribution of values of ‘S’ by mapping the output of Self through the closure F Read more
Source§

impl<T> Distribution<Complex<T>> for Normal
where Normal: Distribution<Vector<T, 2>>,

Source§

fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Complex<T>

Generate a random value of T, using rng as the source of randomness.
Source§

fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>
where R: Rng, Self: Sized,

Create an iterator that generates random values of T, using rng as the source of randomness. Read more
Source§

fn map<F, S>(self, func: F) -> DistMap<Self, F, T, S>
where F: Fn(T) -> S, Self: Sized,

Create a distribution of values of ‘S’ by mapping the output of Self through the closure F Read more
Source§

impl<T: Float> Distribution<Complex<T>> for Unit
where Unit: Distribution<Vector<T, 2>>,

Source§

fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Complex<T>

Generate a random value of T, using rng as the source of randomness.
Source§

fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>
where R: Rng, Self: Sized,

Create an iterator that generates random values of T, using rng as the source of randomness. Read more
Source§

fn map<F, S>(self, func: F) -> DistMap<Self, F, T, S>
where F: Fn(T) -> S, Self: Sized,

Create a distribution of values of ‘S’ by mapping the output of Self through the closure F Read more
Source§

impl<T> Div<Complex<T>> for Quaternion<T>
where T: Neg<Output = T> + Num + Copy,

Source§

type Output = Quaternion<T>

The resulting type after applying the / operator.
Source§

fn div(self, other: Complex<T>) -> Self

Performs the / operation. Read more
Source§

impl Div<Complex<f32>> for f32

Workaround for reverse division.

Source§

type Output = Complex<f32>

The resulting type after applying the / operator.
Source§

fn div(self, other: Complex<f32>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Complex<f64>> for f64

Workaround for reverse division.

Source§

type Output = Complex<f64>

The resulting type after applying the / operator.
Source§

fn div(self, other: Complex<f64>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Quaternion<T>> for Complex<T>
where T: Neg<Output = T> + Num + Copy,

Source§

type Output = Quaternion<T>

The resulting type after applying the / operator.
Source§

fn div(self, other: Quaternion<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<T> for Complex<T>
where T: Div<Output = T> + Copy,

Source§

type Output = Complex<T>

The resulting type after applying the / operator.
Source§

fn div(self, other: T) -> Self

Performs the / operation. Read more
Source§

impl<T> Div for Complex<T>
where T: Neg<Output = T> + Num + Copy,

Source§

type Output = Complex<T>

The resulting type after applying the / operator.
Source§

fn div(self, other: Self) -> Self

Performs the / operation. Read more
Source§

impl<T> DivAssign<Complex<T>> for Quaternion<T>
where Self: Div<Complex<T>, Output = Self> + Copy,

Source§

fn div_assign(&mut self, other: Complex<T>)

Performs the /= operation. Read more
Source§

impl<T> DivAssign<T> for Complex<T>
where Self: Div<T, Output = Self> + Copy,

Source§

fn div_assign(&mut self, other: T)

Performs the /= operation. Read more
Source§

impl<T> DivAssign for Complex<T>
where Self: Div<Output = Self> + Copy,

Source§

fn div_assign(&mut self, other: Self)

Performs the /= operation. Read more
Source§

impl<T> Dot for Complex<T>
where T: Add<Output = T> + Mul<Output = T>,

Source§

type Output = T

Dot product output type.
Source§

fn dot(self, other: Self) -> T

Perform dot product.
Source§

impl<T> From<[T; 2]> for Complex<T>

Source§

fn from(arr: [T; 2]) -> Self

Converts to this type from the input type.
Source§

impl<T> From<(T, T)> for Complex<T>

Source§

fn from(tup: (T, T)) -> Self

Converts to this type from the input type.
Source§

impl<T> From<Complex<T>> for [T; 2]

Source§

fn from(comp: Complex<T>) -> Self

Converts to this type from the input type.
Source§

impl<T> From<Complex<T>> for (T, T)

Source§

fn from(comp: Complex<T>) -> Self

Converts to this type from the input type.
Source§

impl<T> From<Complex<T>> for Complex<T>

Source§

fn from(nc: NumComplex<T>) -> Self

Converts to this type from the input type.
Source§

impl<T> From<Complex<T>> for Complex<T>

Source§

fn from(comp: Complex<T>) -> Self

Converts to this type from the input type.
Source§

impl<T> From<Complex<T>> for Rotation2<T>

Source§

fn from(comp: Complex<T>) -> Self

Converts to this type from the input type.
Source§

impl<T> From<Complex<T>> for Vector2<T>

Source§

fn from(comp: Complex<T>) -> Self

Converts to this type from the input type.
Source§

impl<T> From<Rotation2<T>> for Complex<T>

Source§

fn from(rot: Rotation2<T>) -> Self

Converts to this type from the input type.
Source§

impl<T> From<Vector<T, 2>> for Complex<T>

Source§

fn from(vec: Vector2<T>) -> Self

Converts to this type from the input type.
Source§

impl<T> Inv for Complex<T>
where T: Float,

Source§

type Output = Complex<T>

The result after applying the operator.
Source§

fn inv(self) -> Self

Returns the multiplicative inverse of self. Read more
Source§

impl<T> Mul<Complex<T>> for Quaternion<T>
where T: Add<Output = T> + Sub<Output = T> + Mul<Output = T> + Copy,

Source§

type Output = Quaternion<T>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Complex<T>) -> Self

Performs the * operation. Read more
Source§

impl Mul<Complex<f32>> for f32

Workaround for reverse multiplication.

Source§

type Output = Complex<f32>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Complex<f32>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Complex<f64>> for f64

Workaround for reverse multiplication.

Source§

type Output = Complex<f64>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Complex<f64>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Quaternion<T>> for Complex<T>
where T: Add<Output = T> + Sub<Output = T> + Mul<Output = T> + Copy,

Source§

type Output = Quaternion<T>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Quaternion<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<T> for Complex<T>
where T: Mul<Output = T> + Copy,

Source§

type Output = Complex<T>

The resulting type after applying the * operator.
Source§

fn mul(self, other: T) -> Self

Performs the * operation. Read more
Source§

impl<T> Mul for Complex<T>
where T: Add<Output = T> + Sub<Output = T> + Mul<Output = T> + Copy,

Source§

type Output = Complex<T>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
Source§

impl<T> MulAssign<Complex<T>> for Quaternion<T>
where Self: Mul<Complex<T>, Output = Self> + Copy,

Source§

fn mul_assign(&mut self, other: Complex<T>)

Performs the *= operation. Read more
Source§

impl<T> MulAssign<T> for Complex<T>
where Self: Mul<T, Output = Self> + Copy,

Source§

fn mul_assign(&mut self, other: T)

Performs the *= operation. Read more
Source§

impl<T> MulAssign for Complex<T>
where Self: Mul<Output = Self> + Copy,

Source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
Source§

impl<T> Neg for Complex<T>
where T: Neg<Output = T>,

Source§

type Output = Complex<T>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self

Performs the unary - operation. Read more
Source§

impl<T> NormL1 for Complex<T>
where Vector2<T>: NormL1<Output = T>,

Source§

type Output = T

Type of the norm.
Source§

fn norm_l1(self) -> T

Norm of the element.
Source§

impl<T: Float> NormL2 for Complex<T>

Source§

type Output = T

Type of the norm.
Source§

fn norm_l2(self) -> T

Norm of the element.
Source§

fn norm_l2_sqr(self) -> T

Square norm of the element.
Source§

impl<T> Normalize for Complex<T>
where T: Float,

Source§

fn normalize(self) -> Self

Normalize object.
Source§

impl<T: Neg<Output = T> + Num + Copy> Num for Complex<T>

Source§

type FromStrRadixErr = ParseComplexError<<T as Num>::FromStrRadixErr>

Source§

fn from_str_radix(s: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>

Convert from a string and radix (typically 2..=36). Read more
Source§

impl<T> One for Complex<T>
where T: Zero + One + Sub<Output = T> + Copy,

Source§

fn one() -> Self

Returns the multiplicative identity element of Self, 1. Read more
Source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
Source§

fn is_one(&self) -> bool
where Self: PartialEq,

Returns true if self is equal to the multiplicative identity. Read more
Source§

impl<T: PartialEq> PartialEq for Complex<T>

Source§

fn eq(&self, other: &Complex<T>) -> 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<T> Product for Complex<T>
where Self: One + Mul,

Source§

fn product<I: Iterator<Item = Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by multiplying the items.
Source§

impl<T: Neg<Output = T> + Num + Copy> Rem for Complex<T>

Source§

type Output = Complex<T>

The resulting type after applying the % operator.
Source§

fn rem(self, other: Self) -> Self

Performs the % operation. Read more
Source§

impl<T> Sub<Complex<T>> for Quaternion<T>
where T: Sub<Output = T>,

Source§

type Output = Quaternion<T>

The resulting type after applying the - operator.
Source§

fn sub(self, other: Complex<T>) -> Self

Performs the - operation. Read more
Source§

impl Sub<Complex<f32>> for f32

Workaround for reverse subtraction.

Source§

type Output = Complex<f32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: Complex<f32>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Complex<f64>> for f64

Workaround for reverse subtraction.

Source§

type Output = Complex<f64>

The resulting type after applying the - operator.
Source§

fn sub(self, other: Complex<f64>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Quaternion<f32>> for Complex<f32>

Workaround for reverse subtraction.

Source§

type Output = Quaternion<f32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: Quaternion<f32>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Quaternion<f64>> for Complex<f64>

Workaround for reverse subtraction.

Source§

type Output = Quaternion<f64>

The resulting type after applying the - operator.
Source§

fn sub(self, other: Quaternion<f64>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T> Sub<T> for Complex<T>
where T: Sub<Output = T>,

Source§

type Output = Complex<T>

The resulting type after applying the - operator.
Source§

fn sub(self, other: T) -> Self

Performs the - operation. Read more
Source§

impl<T> Sub for Complex<T>
where T: Sub<Output = T>,

Source§

type Output = Complex<T>

The resulting type after applying the - operator.
Source§

fn sub(self, other: Self) -> Self

Performs the - operation. Read more
Source§

impl<T> SubAssign<Complex<T>> for Quaternion<T>
where T: SubAssign,

Source§

fn sub_assign(&mut self, other: Complex<T>)

Performs the -= operation. Read more
Source§

impl<T> SubAssign<T> for Complex<T>
where T: SubAssign,

Source§

fn sub_assign(&mut self, other: T)

Performs the -= operation. Read more
Source§

impl<T> SubAssign for Complex<T>
where T: SubAssign,

Source§

fn sub_assign(&mut self, other: Self)

Performs the -= operation. Read more
Source§

impl<T> Sum for Complex<T>
where Self: Zero + Add,

Source§

fn sum<I: Iterator<Item = Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl<T> Transform<Complex<T>> for Moebius<Complex<T>>
where T: Neg<Output = T> + Num + Copy,

Source§

fn identity() -> Self

Identity transformation.
Source§

fn inv(self) -> Self

Inverse transformation.
Source§

fn apply(&self, pos: Complex<T>) -> Complex<T>

Perform the transformation itself.
Source§

fn deriv(&self, pos: Complex<T>, dir: Complex<T>) -> Complex<T>

Find transformation directional derivative at specified point.
Source§

fn chain(self, other: Self) -> Self

Chain two transformations into a new one. Read more
Source§

impl<T> Zero for Complex<T>
where T: Zero,

Source§

fn zero() -> Self

Returns the additive identity element of Self, 0. Read more
Source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
Source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
Source§

impl<T: Copy> Copy for Complex<T>

Source§

impl<T> StructuralPartialEq for Complex<T>

Auto Trait Implementations§

§

impl<T> Freeze for Complex<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for Complex<T>
where T: RefUnwindSafe,

§

impl<T> Send for Complex<T>
where T: Send,

§

impl<T> Sync for Complex<T>
where T: Sync,

§

impl<T> Unpin for Complex<T>
where T: Unpin,

§

impl<T> UnwindSafe for Complex<T>
where T: UnwindSafe,

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<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<T, const M: usize, const N: usize> Broadcast<Matrix<T, M, N>> for T
where T: Copy,

Source§

fn broadcast(self) -> Matrix<T, M, N>

Copy values along axes to get V.
Source§

impl<T, const N: usize> Broadcast<Vector<T, N>> for T
where T: Copy,

Source§

fn broadcast(self) -> Vector<T, N>

Copy values along axes to get V.
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> 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<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for T
where T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,