Skip to main content

Symbolic

Struct Symbolic 

Source
pub struct Symbolic;

Implementations§

Source§

impl Symbolic

Source

pub fn materialize(len: usize) -> &'static mut [Self]

Trait Implementations§

Source§

impl Add<&Symbolic> for &Symbolic

Source§

type Output = Symbolic

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&Symbolic> for Symbolic

Source§

type Output = Symbolic

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Symbolic> for &Symbolic

Source§

type Output = Symbolic

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add for Symbolic

Source§

type Output = Symbolic

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl AddAssign<&Symbolic> for Symbolic

Source§

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

Performs the += operation. Read more
Source§

impl AddAssign for Symbolic

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl Clone for Symbolic

Source§

fn clone(&self) -> Symbolic

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 ComplexField for Symbolic

Source§

const IS_REAL: bool = true

Source§

const SIMD_CAPABILITIES: SimdCapabilities = SimdCapabilities::Copy

Source§

type Arch = Scalar

Source§

type Index = usize

Source§

type Real = Symbolic

Source§

type SimdCtx<S: Simd> = S

Source§

type SimdIndex<S: Simd> = ()

Source§

type SimdMask<S: Simd> = ()

Source§

type SimdMemMask<S: Simd> = ()

Source§

type SimdVec<S: Simd> = ()

Source§

type Unit = Symbolic

Source§

fn zero_impl() -> Self

Source§

fn one_impl() -> Self

Source§

fn nan_impl() -> Self

Source§

fn infinity_impl() -> Self

Source§

fn from_real_impl(_: &Self::Real) -> Self

Source§

fn from_f64_impl(_: f64) -> Self

Source§

fn real_part_impl(_: &Self) -> Self::Real

Source§

fn imag_part_impl(_: &Self) -> Self::Real

Source§

fn copy_impl(_: &Self) -> Self

Source§

fn conj_impl(_: &Self) -> Self

Source§

fn recip_impl(_: &Self) -> Self

Source§

fn sqrt_impl(_: &Self) -> Self

Source§

fn abs_impl(_: &Self) -> Self::Real

Source§

fn abs1_impl(_: &Self) -> Self::Real

Source§

fn abs2_impl(_: &Self) -> Self::Real

Source§

fn mul_real_impl(_: &Self, _: &Self::Real) -> Self

Source§

fn mul_pow2_impl(_: &Self, _: &Self::Real) -> Self

Source§

fn is_finite_impl(_: &Self) -> bool

Source§

fn simd_ctx<S: Simd>(simd: S) -> Self::SimdCtx<S>

Source§

fn ctx_from_simd<S: Simd>(simd: &Self::SimdCtx<S>) -> S

Source§

fn simd_mem_mask_between<S: Simd>( _: &Self::SimdCtx<S>, _: Self::Index, _: Self::Index, ) -> Self::SimdMemMask<S>

Source§

unsafe fn simd_mask_load_raw<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdMemMask<S>, _: *const Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

unsafe fn simd_mask_store_raw<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdMemMask<S>, _: *mut Self::SimdVec<S>, _: Self::SimdVec<S>, )

Source§

fn simd_splat<S: Simd>(_: &Self::SimdCtx<S>, _: &Self) -> Self::SimdVec<S>

Source§

fn simd_splat_real<S: Simd>( _: &Self::SimdCtx<S>, _: &Self::Real, ) -> Self::SimdVec<S>

Source§

fn simd_add<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_sub<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_neg<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_conj<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_abs1<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_abs_max<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_mul_real<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_mul_pow2<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_mul<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_conj_mul<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_mul_add<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_conj_mul_add<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_abs2<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_abs2_add<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_reduce_sum<S: Simd>(_: &Self::SimdCtx<S>, _: Self::SimdVec<S>) -> Self

Source§

fn simd_reduce_max<S: Simd>(_: &Self::SimdCtx<S>, _: Self::SimdVec<S>) -> Self

Source§

fn simd_equal<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, ) -> Self::SimdMask<S>

Source§

fn simd_less_than<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, ) -> Self::SimdMask<S>

Source§

fn simd_less_than_or_equal<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, ) -> Self::SimdMask<S>

Source§

fn simd_greater_than<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, ) -> Self::SimdMask<S>

Source§

fn simd_greater_than_or_equal<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, ) -> Self::SimdMask<S>

Source§

fn simd_select<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdMask<S>, _: Self::SimdVec<S>, _: Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_index_select<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdMask<S>, _: Self::SimdIndex<S>, _: Self::SimdIndex<S>, ) -> Self::SimdIndex<S>

Source§

fn simd_index_splat<S: Simd>( _: &Self::SimdCtx<S>, _: Self::Index, ) -> Self::SimdIndex<S>

Source§

fn simd_index_add<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdIndex<S>, _: Self::SimdIndex<S>, ) -> Self::SimdIndex<S>

Source§

fn simd_and_mask<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdMask<S>, _: Self::SimdMask<S>, ) -> Self::SimdMask<S>

Source§

fn simd_or_mask<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdMask<S>, _: Self::SimdMask<S>, ) -> Self::SimdMask<S>

Source§

fn simd_not_mask<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdMask<S>, ) -> Self::SimdMask<S>

Source§

fn simd_first_true_mask<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdMask<S>, ) -> usize

Source§

fn simd_mask_between<S: Simd>( _: &Self::SimdCtx<S>, _: Self::Index, _: Self::Index, ) -> Self::SimdMask<S>

Source§

fn simd_index_less_than<S: Simd>( _: &Self::SimdCtx<S>, _: Self::SimdIndex<S>, _: Self::SimdIndex<S>, ) -> Self::SimdMask<S>

Source§

const SIMD_ABS_SPLIT_REAL_IMAG: bool = false

Source§

fn is_nan_impl(value: &Self) -> bool

Source§

fn simd_index_greater_than<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdIndex<S>, rhs: Self::SimdIndex<S>, ) -> Self::SimdMask<S>

Source§

fn simd_index_less_than_or_equal<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdIndex<S>, rhs: Self::SimdIndex<S>, ) -> Self::SimdMask<S>

Source§

fn simd_index_greater_than_or_equal<S: Simd>( ctx: &Self::SimdCtx<S>, lhs: Self::SimdIndex<S>, rhs: Self::SimdIndex<S>, ) -> Self::SimdMask<S>

Source§

fn simd_load<S: Simd>( ctx: &Self::SimdCtx<S>, ptr: &Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

fn simd_store<S: Simd>( ctx: &Self::SimdCtx<S>, ptr: &mut Self::SimdVec<S>, value: Self::SimdVec<S>, )

Source§

unsafe fn simd_mask_load<S: Simd>( ctx: &Self::SimdCtx<S>, mask: Self::SimdMemMask<S>, ptr: *const Self::SimdVec<S>, ) -> Self::SimdVec<S>

Source§

unsafe fn simd_mask_store<S: Simd>( ctx: &Self::SimdCtx<S>, mask: Self::SimdMemMask<S>, ptr: *mut Self::SimdVec<S>, value: Self::SimdVec<S>, )

Source§

fn simd_iota<S: Simd>(ctx: &Self::SimdCtx<S>) -> Self::SimdIndex<S>

Source§

impl Debug for Symbolic

Source§

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

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

impl Div<&Symbolic> for &Symbolic

Source§

type Output = Symbolic

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div<&Symbolic> for Symbolic

Source§

type Output = Symbolic

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div<Symbolic> for &Symbolic

Source§

type Output = Symbolic

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div for Symbolic

Source§

type Output = Symbolic

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl DivAssign<&Symbolic> for Symbolic

Source§

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

Performs the /= operation. Read more
Source§

impl DivAssign for Symbolic

Source§

fn div_assign(&mut self, rhs: Self)

Performs the /= operation. Read more
Source§

impl Mul<&Symbolic> for &Symbolic

Source§

type Output = Symbolic

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<&Symbolic> for Symbolic

Source§

type Output = Symbolic

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<Symbolic> for &Symbolic

Source§

type Output = Symbolic

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul for Symbolic

Source§

type Output = Symbolic

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl MulAssign<&Symbolic> for Symbolic

Source§

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

Performs the *= operation. Read more
Source§

impl MulAssign for Symbolic

Source§

fn mul_assign(&mut self, rhs: Self)

Performs the *= operation. Read more
Source§

impl Neg for &Symbolic

Source§

type Output = Symbolic

The resulting type after applying the - operator.
Source§

fn neg(self) -> Symbolic

Performs the unary - operation. Read more
Source§

impl Neg for Symbolic

Source§

type Output = Symbolic

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self

Performs the unary - operation. Read more
Source§

impl Num for Symbolic

Source§

type FromStrRadixErr = Infallible

Source§

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

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

impl One for Symbolic

Source§

fn one() -> Self

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

fn is_one(&self) -> bool

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

fn set_one(&mut self)

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

impl Ord for Symbolic

Source§

fn cmp(&self, other: &Symbolic) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for Symbolic

Source§

fn eq(&self, other: &Symbolic) -> 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 PartialOrd for Symbolic

Source§

fn partial_cmp(&self, other: &Symbolic) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl RealField for Symbolic

Source§

impl Rem<&Symbolic> for &Symbolic

Source§

type Output = Symbolic

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Symbolic) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&Symbolic> for Symbolic

Source§

type Output = Symbolic

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Symbolic) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<Symbolic> for &Symbolic

Source§

type Output = Symbolic

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Symbolic) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem for Symbolic

Source§

type Output = Symbolic

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Symbolic) -> Self::Output

Performs the % operation. Read more
Source§

impl RemAssign<&Symbolic> for Symbolic

Source§

fn rem_assign(&mut self, rhs: &Symbolic)

Performs the %= operation. Read more
Source§

impl RemAssign for Symbolic

Source§

fn rem_assign(&mut self, rhs: Self)

Performs the %= operation. Read more
Source§

impl Sub<&Symbolic> for &Symbolic

Source§

type Output = Symbolic

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&Symbolic> for Symbolic

Source§

type Output = Symbolic

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Symbolic> for &Symbolic

Source§

type Output = Symbolic

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub for Symbolic

Source§

type Output = Symbolic

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl SubAssign<&Symbolic> for Symbolic

Source§

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

Performs the -= operation. Read more
Source§

impl SubAssign for Symbolic

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl Zero for Symbolic

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 Copy for Symbolic

Source§

impl Eq for Symbolic

Source§

impl StructuralPartialEq for Symbolic

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<Rhs, Lhs, Output> AddByRef<Rhs> for Lhs
where &'a Lhs: for<'a> Add<&'a Rhs, Output = Output>,

Source§

type Output = Output

Source§

fn add_by_ref(&self, rhs: &Rhs) -> <Lhs as AddByRef<Rhs>>::Output

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> ByRef<T> for T

Source§

fn by_ref(&self) -> &T

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> ComplexFieldExt for T
where T: ComplexField,

Source§

fn nbits() -> usize

Source§

fn zero() -> Self

Source§

fn one() -> Self

Source§

fn nan() -> Self

Source§

fn infinity() -> Self

Source§

fn as_real(&self) -> Self

Source§

fn real(&self) -> Self::Real

Source§

fn imag(&self) -> Self::Real

Source§

fn copy(&self) -> Self

Source§

fn conj(&self) -> Self

Source§

fn mul_real(&self, rhs: impl ByRef<Self::Real>) -> Self

Source§

fn mul_pow2(&self, rhs: impl ByRef<Self::Real>) -> Self

Source§

fn abs1(&self) -> Self::Real

Source§

fn absmax(&self) -> Self::Real

Source§

fn abs(&self) -> Self::Real

Source§

fn abs2(&self) -> Self::Real

Source§

fn is_nan(&self) -> bool

Source§

fn is_finite(&self) -> bool

Source§

fn sqrt(&self) -> Self

Source§

fn recip(&self) -> Self

Source§

fn from_f64(value: f64) -> Self

Source§

impl<T> Conjugate for T
where T: RealField,

Source§

const IS_CANONICAL: bool = const IS_CANONICAL: bool = true;

Source§

type Canonical = T

Source§

type Conj = T

Source§

impl<Rhs, Lhs, Output> DivByRef<Rhs> for Lhs
where &'a Lhs: for<'a> Div<&'a Rhs, Output = Output>,

Source§

type Output = Output

Source§

fn div_by_ref(&self, rhs: &Rhs) -> <Lhs as DivByRef<Rhs>>::Output

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<Rhs, Lhs, Output> MulByRef<Rhs> for Lhs
where &'a Lhs: for<'a> Mul<&'a Rhs, Output = Output>,

Source§

type Output = Output

Source§

fn mul_by_ref(&self, rhs: &Rhs) -> <Lhs as MulByRef<Rhs>>::Output

Source§

impl<T, Output> NegByRef for T
where &'a T: for<'a> Neg<Output = Output>,

Source§

type Output = Output

Source§

fn neg_by_ref(&self) -> <T as NegByRef>::Output

Source§

impl<T> RealFieldExt for T
where T: RealField,

Source§

fn eps<T: RealField>() -> T

Source§

fn nbits<T: ComplexField>() -> usize

Source§

fn min_positive<T: RealField>() -> T

Source§

fn max_positive<T: RealField>() -> T

Source§

fn sqrt_min_positive<T: RealField>() -> T

Source§

fn sqrt_max_positive<T: RealField>() -> T

Source§

fn to_cplx<T: ComplexField<Real = Self>>(&self) -> T

Source§

fn fmax(&self, rhs: impl ByRef<Self>) -> Self

Source§

fn fmin(&self, rhs: impl ByRef<Self>) -> Self

Source§

fn hypot(&self, rhs: impl ByRef<Self>) -> Self

Source§

impl<Rhs, Lhs, Output> SubByRef<Rhs> for Lhs
where &'a Lhs: for<'a> Sub<&'a Rhs, Output = Output>,

Source§

type Output = Output

Source§

fn sub_by_ref(&self, rhs: &Rhs) -> <Lhs as SubByRef<Rhs>>::Output

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, 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, U> Imply<T> for U
where T: ?Sized, U: ?Sized,

Source§

impl<T> NumAssign for T
where T: Num + NumAssignOps,

Source§

impl<T, Rhs> NumAssignOps<Rhs> for T
where T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,

Source§

impl<T> NumAssignRef for T
where T: NumAssign + for<'r> NumAssignOps<&'r T>,

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>,

Source§

impl<T> NumRef for T
where T: Num + for<'r> NumOps<&'r T>,

Source§

impl<T, Base> RefNum<Base> for T
where T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>,

Source§

impl<T> RefOps for T
where T: for<'a> Mul<&'a T, Output = T, Output = T> + Mul + for<'a> Div<&'a T, Output = T, Output = T> + Add<Output = T, Output = T> + for<'a> AddAssign<&'a T> + for<'a> SubAssign<&'a T> + for<'a> MulAssign<&'a T> + for<'a> DivAssign<&'a T> + Div + Neg<Output = T> + AddAssign + SubAssign + MulAssign + DivAssign + for<'a> Add<&'a T> + Sub<Output = T, Output = T> + for<'a> Sub<&'a T>, &'a T: for<'a> Neg<Output = T> + for<'a> Add<Output = T, Output = T> + for<'a> Sub<Output = T, Output = T> + for<'a> Mul<Output = T, Output = T> + for<'a> Div<Output = T, Output = T> + for<'a> Add<T> + for<'a> Sub<T> + for<'a> Mul<T> + for<'a> Div<T>,