Enum tinychain::scalar::Complex [−]
A complex number.
Variants
Trait Implementations
impl AddAssign<Complex> for Complex
impl AddAssign<Complex> for Complex
pub fn add_assign(&mut self, other: Complex)
impl Clone for Complex
impl Clone for Complex
pub fn clone(&self) -> Complex
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl DivAssign<Complex> for Complex
impl DivAssign<Complex> for Complex
pub fn div_assign(&mut self, other: Complex)
impl<'en> IntoStream<'en> for Complex
impl<'en> IntoStream<'en> for Complex
impl MulAssign<Complex> for Complex
impl MulAssign<Complex> for Complex
pub fn mul_assign(&mut self, other: Complex)
impl NumberInstance for Complex
impl NumberInstance for Complex
type Abs = Float
type Exp = Complex
type Class = ComplexType
pub fn class(&self) -> ComplexType
pub fn into_type(self, dtype: ComplexType) -> Complex
pub fn abs(self) -> Float
pub fn pow(self, exp: Complex) -> Complex
pub fn and(self, other: Self) -> Self where
Boolean: CastFrom<Self>,
Boolean: CastFrom<Self>,
pub fn not(self) -> Self where
Boolean: CastFrom<Self>,
Boolean: CastFrom<Self>,
pub fn or(self, other: Self) -> Self where
Boolean: CastFrom<Self>,
Boolean: CastFrom<Self>,
pub fn xor(self, other: Self) -> Self where
Boolean: CastFrom<Self>,
Boolean: CastFrom<Self>,
impl Serialize for Complex
impl Serialize for Complex
pub fn serialize<S>(
&self,
s: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
&self,
s: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl SubAssign<Complex> for Complex
impl SubAssign<Complex> for Complex
pub fn sub_assign(&mut self, other: Complex)
Auto Trait Implementations
impl RefUnwindSafe for Complex
impl RefUnwindSafe for Complex
impl UnwindSafe for Complex
impl UnwindSafe for Complex
Blanket Implementations
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<F, T> TryCastFrom<F> for T where
T: CastFrom<F>,
[src]
impl<F, T> TryCastFrom<F> for T where
T: CastFrom<F>,
[src]pub fn can_cast_from(&F) -> bool
[src]
pub fn opt_cast_from(f: F) -> Option<T>
[src]
pub fn try_cast_from<Err, OnErr>(value: T, on_err: OnErr) -> Result<Self, Err> where
OnErr: FnOnce(&T) -> Err,
[src]
OnErr: FnOnce(&T) -> Err,
impl<F, T> TryCastInto<T> for F where
T: TryCastFrom<F>,
[src]
impl<F, T> TryCastInto<T> for F where
T: TryCastFrom<F>,
[src]pub fn can_cast_into(&self) -> bool
[src]
pub fn opt_cast_into(self) -> Option<T>
[src]
pub fn try_cast_into<Err, OnErr>(self, on_err: OnErr) -> Result<T, Err> where
OnErr: FnOnce(&Self) -> Err,
[src]
OnErr: FnOnce(&Self) -> Err,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,