Struct extendr_api::prelude::complex_native::c32conj

pub struct c32conj {
    pub re: f32,
    pub neg_im: f32,
}
Expand description

32-bit implicitly conjugated complex floating point type.

Fields§

§re: f32

Real part.

§neg_im: f32

Negated imaginary part.

Trait Implementations§

§

impl Add<c32> for c32conj

§

type Output = c32

The resulting type after applying the + operator.
§

fn add(self, rhs: c32) -> <c32conj as Add<c32>>::Output

Performs the + operation. Read more
§

impl Add<c32conj> for c32

§

type Output = c32

The resulting type after applying the + operator.
§

fn add(self, rhs: c32conj) -> <c32 as Add<c32conj>>::Output

Performs the + operation. Read more
§

impl AddAssign<c32conj> for c32

§

fn add_assign(&mut self, rhs: c32conj)

Performs the += operation. Read more
§

impl Clone for c32conj

§

fn clone(&self) -> c32conj

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Conjugate for c32conj

§

type Conj = c32

Must have the same layout as Self, and Conj::Unit must have the same layout as Unit.
§

type Canonical = c32

Must have the same layout as Self, and Canonical::Unit must have the same layout as Unit.
§

fn canonicalize(self) -> <c32conj as Conjugate>::Canonical

Performs the implicit conjugation operation on the given value, returning the canonical form.
§

impl Debug for c32conj

§

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

Formats the value using the given formatter. Read more
§

impl Display for c32conj

§

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

Formats the value using the given formatter. Read more
§

impl Div<c32> for c32conj

§

type Output = c32

The resulting type after applying the / operator.
§

fn div(self, rhs: c32) -> <c32conj as Div<c32>>::Output

Performs the / operation. Read more
§

impl Div<c32conj> for c32

§

type Output = c32

The resulting type after applying the / operator.
§

fn div(self, rhs: c32conj) -> <c32 as Div<c32conj>>::Output

Performs the / operation. Read more
§

impl DivAssign<c32conj> for c32

§

fn div_assign(&mut self, rhs: c32conj)

Performs the /= operation. Read more
§

impl Entity for c32conj

§

type Unit = c32conj

§

type Index = u32

§

type SimdUnit<S: Simd> = <S as Simd>::c32s

§

type SimdMask<S: Simd> = <S as Simd>::m32s

§

type SimdIndex<S: Simd> = <S as Simd>::u32s

§

type Group = IdentityGroup

§

type Iter<I: Iterator> = I

§

type PrefixUnit<'a, S: Simd> = Prefix<'a, Complex<f32>, S, <S as Simd>::m32s>

§

type SuffixUnit<'a, S: Simd> = Suffix<'a, Complex<f32>, S, <S as Simd>::m32s>

§

type PrefixMutUnit<'a, S: Simd> = PrefixMut<'a, Complex<f32>, S, <S as Simd>::m32s>

§

type SuffixMutUnit<'a, S: Simd> = SuffixMut<'a, Complex<f32>, S, <S as Simd>::m32s>

§

const N_COMPONENTS: usize = 1usize

§

const UNIT: <<c32conj as Entity>::Group as ForCopyType>::FaerOfCopy<()> = ()

§

fn faer_first<T>(group: <<c32conj as Entity>::Group as ForType>::FaerOf<T>) -> T

§

fn faer_from_units( group: <<c32conj as Entity>::Group as ForType>::FaerOf<<c32conj as Entity>::Unit>, ) -> c32conj

§

fn faer_into_units( self, ) -> <<c32conj as Entity>::Group as ForType>::FaerOf<<c32conj as Entity>::Unit>

§

fn faer_as_ref<T>( group: &<<c32conj as Entity>::Group as ForType>::FaerOf<T>, ) -> <<c32conj as Entity>::Group as ForType>::FaerOf<&T>

§

fn faer_as_mut<T>( group: &mut <<c32conj as Entity>::Group as ForType>::FaerOf<T>, ) -> <<c32conj as Entity>::Group as ForType>::FaerOf<&mut T>

§

fn faer_as_ptr<T>( group: *mut <<c32conj as Entity>::Group as ForType>::FaerOf<T>, ) -> <<c32conj as Entity>::Group as ForType>::FaerOf<*mut T>

§

fn faer_map_impl<T, U>( group: <<c32conj as Entity>::Group as ForType>::FaerOf<T>, f: &mut impl FnMut(T) -> U, ) -> <<c32conj as Entity>::Group as ForType>::FaerOf<U>

§

fn faer_map_with_context<Ctx, T, U>( ctx: Ctx, group: <<c32conj as Entity>::Group as ForType>::FaerOf<T>, f: &mut impl FnMut(Ctx, T) -> (Ctx, U), ) -> (Ctx, <<c32conj as Entity>::Group as ForType>::FaerOf<U>)

§

fn faer_zip<T, U>( first: <<c32conj as Entity>::Group as ForType>::FaerOf<T>, second: <<c32conj as Entity>::Group as ForType>::FaerOf<U>, ) -> <<c32conj as Entity>::Group as ForType>::FaerOf<(T, U)>

§

fn faer_unzip<T, U>( zipped: <<c32conj as Entity>::Group as ForType>::FaerOf<(T, U)>, ) -> (<<c32conj as Entity>::Group as ForType>::FaerOf<T>, <<c32conj as Entity>::Group as ForType>::FaerOf<U>)

§

fn faer_into_iter<I>( iter: <<c32conj as Entity>::Group as ForType>::FaerOf<I>, ) -> <c32conj as Entity>::Iter<<I as IntoIterator>::IntoIter>
where I: IntoIterator,

§

fn faer_map<T, U>( group: <Self::Group as ForType>::FaerOf<T>, f: impl FnMut(T) -> U, ) -> <Self::Group as ForType>::FaerOf<U>

§

fn faer_unzip2<T>( zipped: <Self::Group as ForType>::FaerOf<[T; 2]>, ) -> [<Self::Group as ForType>::FaerOf<T>; 2]

§

fn faer_unzip4<T>( zipped: <Self::Group as ForType>::FaerOf<[T; 4]>, ) -> [<Self::Group as ForType>::FaerOf<T>; 4]

§

fn faer_unzip8<T>( zipped: <Self::Group as ForType>::FaerOf<[T; 8]>, ) -> [<Self::Group as ForType>::FaerOf<T>; 8]

§

fn faer_as_arrays<const N: usize, T>( group: <Self::Group as ForType>::FaerOf<&[T]>, ) -> (<Self::Group as ForType>::FaerOf<&[[T; N]]>, <Self::Group as ForType>::FaerOf<&[T]>)

§

fn faer_as_arrays_mut<const N: usize, T>( group: <Self::Group as ForType>::FaerOf<&mut [T]>, ) -> (<Self::Group as ForType>::FaerOf<&mut [[T; N]]>, <Self::Group as ForType>::FaerOf<&mut [T]>)

§

fn faer_deref<T>( group: <Self::Group as ForType>::FaerOf<&T>, ) -> <Self::Group as ForType>::FaerOf<T>
where T: Copy,

§

fn faer_rb<'short, T>( value: <Self::Group as ForType>::FaerOf<&'short T>, ) -> <Self::Group as ForType>::FaerOf<<T as Reborrow<'short>>::Target>
where T: Reborrow<'short>,

§

fn faer_rb_mut<'short, T>( value: <Self::Group as ForType>::FaerOf<&'short mut T>, ) -> <Self::Group as ForType>::FaerOf<<T as ReborrowMut<'short>>::Target>
where T: ReborrowMut<'short>,

§

fn faer_into_const<T>( value: <Self::Group as ForType>::FaerOf<T>, ) -> <Self::Group as ForType>::FaerOf<<T as IntoConst>::Target>
where T: IntoConst,

§

fn faer_copy<T>( x: &<Self::Group as ForType>::FaerOf<T>, ) -> <Self::Group as ForType>::FaerOf<T>
where T: Copy,

§

impl Mul<c32> for c32conj

§

type Output = c32

The resulting type after applying the * operator.
§

fn mul(self, rhs: c32) -> <c32conj as Mul<c32>>::Output

Performs the * operation. Read more
§

impl Mul<c32conj> for c32

§

type Output = c32

The resulting type after applying the * operator.
§

fn mul(self, rhs: c32conj) -> <c32 as Mul<c32conj>>::Output

Performs the * operation. Read more
§

impl MulAssign<c32conj> for c32

§

fn mul_assign(&mut self, rhs: c32conj)

Performs the *= operation. Read more
§

impl PartialEq for c32conj

§

fn eq(&self, other: &c32conj) -> 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.
§

impl Rem<c32> for c32conj

§

type Output = c32

The resulting type after applying the % operator.
§

fn rem(self, rhs: c32) -> <c32conj as Rem<c32>>::Output

Performs the % operation. Read more
§

impl Rem<c32conj> for c32

§

type Output = c32

The resulting type after applying the % operator.
§

fn rem(self, rhs: c32conj) -> <c32 as Rem<c32conj>>::Output

Performs the % operation. Read more
§

impl RemAssign<c32conj> for c32

§

fn rem_assign(&mut self, rhs: c32conj)

Performs the %= operation. Read more
§

impl Sub<c32> for c32conj

§

type Output = c32

The resulting type after applying the - operator.
§

fn sub(self, rhs: c32) -> <c32conj as Sub<c32>>::Output

Performs the - operation. Read more
§

impl Sub<c32conj> for c32

§

type Output = c32

The resulting type after applying the - operator.
§

fn sub(self, rhs: c32conj) -> <c32 as Sub<c32conj>>::Output

Performs the - operation. Read more
§

impl SubAssign<c32conj> for c32

§

fn sub_assign(&mut self, rhs: c32conj)

Performs the -= operation. Read more
§

impl Zeroable for c32conj

§

fn zeroed() -> Self

§

impl Copy for c32conj

§

impl Pod for c32conj

§

impl StructuralPartialEq for c32conj

Auto Trait Implementations§

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
§

impl<T> CheckedBitPattern for T
where T: AnyBitPattern,

§

type Bits = T

Self must have the same layout as the specified Bits except for the possible invalid bit patterns being checked during is_valid_bit_pattern.
§

fn is_valid_bit_pattern(_bits: &T) -> bool

If this function returns true, then it must be valid to reinterpret bits as &Self.
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

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

Initializes a with the given initializer. Read more
§

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

Dereferences the given pointer. Read more
§

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

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
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§

default 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.
§

impl<T> AnyBitPattern for T
where T: Pod,

§

impl<T> Boilerplate for T
where T: Copy + Send + Sync + Debug + PartialEq + 'static,

§

impl<T> NoUninit for T
where T: Pod,

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

§

impl<E> SimpleEntity for E
where E: Entity<Group = IdentityGroup, Unit = E>,