Struct glucose::algebra::linear::Bivector2 [−][src]
Fields
data: T
Implementations
impl<T> Bivector2<T>
[src]
pub const fn new(data: T) -> Self
[src]
pub fn layout() -> Layout
[src]
pub fn as_slice(&self) -> &[T]
[src]
pub fn as_mut_slice(&mut self) -> &mut [T]
[src]
pub fn as_byte_slice(&self) -> &[u8]
[src]
pub fn as_mut_byte_slice(&mut self) -> &mut [u8]
[src]
pub const fn as_ptr(&self) -> *const T
[src]
pub fn as_mut_ptr(&mut self) -> *mut T
[src]
impl<T: Scalar + ClosedMul> Bivector2<T>
[src]
impl<T: Scalar + Real + ClosedDiv + ClosedMul> Bivector2<T>
[src]
pub fn magnitude_squared(&self) -> T
[src]
pub fn magnitude(&self) -> T
[src]
pub fn normalize(&mut self)
[src]
pub fn normalized(&self) -> Self
[src]
Trait Implementations
impl<T: Scalar + ClosedAdd> Add<Bivector2<T>> for Bivector2<T>
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Bivector2<T>) -> Self
[src]
impl<T: Scalar + ClosedAdd> AddAssign<Bivector2<T>> for Bivector2<T>
[src]
fn add_assign(&mut self, rhs: Bivector2<T>)
[src]
impl<T: Scalar + ClosedAdd + Associative<Additive>> Associative<Additive> for Bivector2<T>
[src]
impl<T: Scalar + ClosedMul + Associative<Multiplicative>> Associative<Multiplicative> for Bivector2<T>
[src]
impl<T: Clone> Clone for Bivector2<T>
[src]
impl<T: Scalar + ClosedAdd + Commutative<Additive>> Commutative<Additive> for Bivector2<T>
[src]
impl<T: Scalar + ClosedMul + Commutative<Multiplicative>> Commutative<Multiplicative> for Bivector2<T>
[src]
impl<T: Copy> Copy for Bivector2<T>
[src]
impl<T: Debug> Debug for Bivector2<T>
[src]
impl<T: Default> Default for Bivector2<T>
[src]
impl<T: Scalar + ClosedDiv> Div<Bivector2<T>> for Bivector2<T>
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: Bivector2<T>) -> Self
[src]
impl<T: Scalar + ClosedDiv> Div<T> for Bivector2<T>
[src]
type Output = Bivector2<T>
The resulting type after applying the /
operator.
fn div(self, rhs: T) -> Bivector2<T>
[src]
impl<T: Scalar + ClosedDiv> DivAssign<Bivector2<T>> for Bivector2<T>
[src]
fn div_assign(&mut self, rhs: Self)
[src]
impl<T: Scalar + ClosedDiv> DivAssign<T> for Bivector2<T>
[src]
fn div_assign(&mut self, rhs: T)
[src]
impl<T: Scalar + Identity<Additive> + ClosedAdd> Identity<Additive> for Bivector2<T>
[src]
fn identity() -> Self
[src]
fn is_identity(&self) -> bool
[src]
impl<T: Scalar + Identity<Multiplicative> + ClosedMul> Identity<Multiplicative> for Bivector2<T>
[src]
fn identity() -> Self
[src]
fn is_identity(&self) -> bool
[src]
impl<T: Scalar + ClosedAdd + Invertible<Additive>> Invertible<Additive> for Bivector2<T>
[src]
impl<T: Scalar + ClosedMul + Invertible<Multiplicative>> Invertible<Multiplicative> for Bivector2<T>
[src]
impl<T: Scalar + ClosedMul> Mul<Bivector2<T>> for Bivector2<T>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Bivector2<T>) -> Self
[src]
impl<T: Scalar + ClosedMul> Mul<T> for Bivector2<T>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: T) -> Self
[src]
impl<T: Scalar + ClosedMul> MulAssign<Bivector2<T>> for Bivector2<T>
[src]
fn mul_assign(&mut self, rhs: Self)
[src]
impl<T: Scalar + ClosedMul> MulAssign<T> for Bivector2<T>
[src]
fn mul_assign(&mut self, rhs: T)
[src]
impl<T: Scalar + ClosedNeg> Neg for Bivector2<T>
[src]
impl<T: PartialEq> PartialEq<Bivector2<T>> for Bivector2<T>
[src]
impl<T: PartialOrd> PartialOrd<Bivector2<T>> for Bivector2<T>
[src]
fn partial_cmp(&self, other: &Bivector2<T>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: Scalar + ClosedAdd> Set<Additive> for Bivector2<T>
[src]
impl<T: Scalar + ClosedMul> Set<Multiplicative> for Bivector2<T>
[src]
impl<T> StructuralPartialEq for Bivector2<T>
[src]
impl<T: Scalar + ClosedSub> Sub<Bivector2<T>> for Bivector2<T>
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Bivector2<T>) -> Self
[src]
impl<T: Scalar + ClosedSub> SubAssign<Bivector2<T>> for Bivector2<T>
[src]
fn sub_assign(&mut self, rhs: Bivector2<T>)
[src]
impl<T: Scalar + ClosedAdd + Total<Additive>> Total<Additive> for Bivector2<T>
[src]
impl<T: Scalar + ClosedMul + Total<Multiplicative>> Total<Multiplicative> for Bivector2<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Bivector2<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Bivector2<T> where
T: Send,
T: Send,
impl<T> Sync for Bivector2<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Bivector2<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Bivector2<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T, O> AbelianGroup<O> for T where
T: Group<O> + Commutative<O>,
O: Operator,
[src]
T: Group<O> + Commutative<O>,
O: Operator,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, Rhs> ClosedAdd<Rhs> for T where
T: Add<Rhs, Output = T> + AddAssign<Rhs>,
[src]
T: Add<Rhs, Output = T> + AddAssign<Rhs>,
impl<T, Rhs> ClosedDiv<Rhs> for T where
T: Div<Rhs, Output = T> + DivAssign<Rhs>,
[src]
T: Div<Rhs, Output = T> + DivAssign<Rhs>,
impl<T, Rhs> ClosedMul<Rhs> for T where
T: Mul<Rhs, Output = T> + MulAssign<Rhs>,
[src]
T: Mul<Rhs, Output = T> + MulAssign<Rhs>,
impl<T> ClosedNeg for T where
T: Neg<Output = T>,
[src]
T: Neg<Output = T>,
impl<T, Rhs> ClosedSub<Rhs> for T where
T: Sub<Rhs, Output = T> + SubAssign<Rhs>,
[src]
T: Sub<Rhs, Output = T> + SubAssign<Rhs>,
impl<T, O> CommutativeMonoid<O> for T where
T: Monoid<O> + Commutative<O>,
O: Operator,
[src]
T: Monoid<O> + Commutative<O>,
O: Operator,
impl<T> CommutativeRing<Additive, Multiplicative> for T where
T: AbelianGroup<Additive> + CommutativeMonoid<Multiplicative>,
[src]
T: AbelianGroup<Additive> + CommutativeMonoid<Multiplicative>,
impl<T, O> CommutativeSemigroup<O> for T where
T: Semigroup<O> + Commutative<O>,
O: Operator,
[src]
T: Semigroup<O> + Commutative<O>,
O: Operator,
impl<T> CommutativeSemiring<Additive, Multiplicative> for T where
T: CommutativeMonoid<Additive> + CommutativeMonoid<Multiplicative>,
[src]
T: CommutativeMonoid<Additive> + CommutativeMonoid<Multiplicative>,
impl<T> DivisionRing<Additive, Multiplicative> for T where
T: AbelianGroup<Additive> + AbelianGroup<Multiplicative>,
[src]
T: AbelianGroup<Additive> + AbelianGroup<Multiplicative>,
impl<T> From<T> for T
[src]
impl<T, O> Group<O> for T where
T: Magma<O> + Groupoid<O>,
O: Operator,
[src]
T: Magma<O> + Groupoid<O>,
O: Operator,
impl<T, O> Groupoid<O> for T where
T: SmallCategory<O> + Invertible<O>,
O: Operator,
[src]
T: SmallCategory<O> + Invertible<O>,
O: Operator,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, O> InverseSemigroup<O> for T where
T: Semigroup<O> + Invertible<O>,
O: Operator,
[src]
T: Semigroup<O> + Invertible<O>,
O: Operator,
impl<T, O> Loop<O> for T where
T: UnitalMagma<O> + Quasigroup<O>,
O: Operator,
[src]
T: UnitalMagma<O> + Quasigroup<O>,
O: Operator,
impl<T, O> Magma<O> for T where
T: Total<O>,
O: Operator,
[src]
T: Total<O>,
O: Operator,
impl<T, O> Monoid<O> for T where
T: Magma<O> + SmallCategory<O>,
O: Operator,
[src]
T: Magma<O> + SmallCategory<O>,
O: Operator,
impl<T> NearRing<Additive, Multiplicative> for T where
T: Monoid<Additive> + Semigroup<Multiplicative>,
[src]
T: Monoid<Additive> + Semigroup<Multiplicative>,
impl<T> One for T where
T: Identity<Multiplicative> + PartialEq<T>,
[src]
T: Identity<Multiplicative> + PartialEq<T>,
impl<T, O> Quasigroup<O> for T where
T: Magma<O> + Invertible<O>,
O: Operator,
[src]
T: Magma<O> + Invertible<O>,
O: Operator,
impl<T> Ring<Additive, Multiplicative> for T where
T: AbelianGroup<Additive> + Monoid<Multiplicative>,
[src]
T: AbelianGroup<Additive> + Monoid<Multiplicative>,
impl<T, O> Semigroup<O> for T where
T: Magma<O> + Semigroupoid<O>,
O: Operator,
[src]
T: Magma<O> + Semigroupoid<O>,
O: Operator,
impl<T, O> Semigroupoid<O> for T where
T: Associative<O>,
O: Operator,
[src]
T: Associative<O>,
O: Operator,
impl<T> Semiring<Additive, Multiplicative> for T where
T: CommutativeMonoid<Additive> + Monoid<Multiplicative>,
[src]
T: CommutativeMonoid<Additive> + Monoid<Multiplicative>,
impl<T, O> SmallCategory<O> for T where
T: Semigroupoid<O> + Identity<O>,
O: Operator,
[src]
T: Semigroupoid<O> + Identity<O>,
O: Operator,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, O> UnitalMagma<O> for T where
T: Magma<O> + Identity<O>,
O: Operator,
[src]
T: Magma<O> + Identity<O>,
O: Operator,
impl<T> Zero for T where
T: Identity<Additive> + PartialEq<T>,
[src]
T: Identity<Additive> + PartialEq<T>,