logo
pub trait X2CanonicalInterface: X2BasicInterface {
Show 17 methods fn _0_ref(&self) -> &Self::Scalar; fn _1_ref(&self) -> &Self::Scalar; fn _0_mut(&mut self) -> &mut Self::Scalar; fn _1_mut(&mut self) -> &mut Self::Scalar; fn as_canonical(&self) -> &X2<Self::Scalar>; fn as_canonical_mut(&mut self) -> &mut X2<Self::Scalar>; fn assign<Src>(&mut self, src: Src)
    where
        Src: X2BasicInterface<Scalar = Self::Scalar>
, { ... } fn x_ref(&self) -> &Self::Scalar { ... } fn y_ref(&self) -> &Self::Scalar { ... } fn x_mut(&mut self) -> &mut Self::Scalar { ... } fn y_mut(&mut self) -> &mut Self::Scalar { ... } fn as_tuple(&self) -> &(Self::Scalar, Self::Scalar) { ... } fn as_array(&self) -> &[Self::Scalar; 2] { ... } fn as_slice(&self) -> &[Self::Scalar] { ... } fn as_tuple_mut(&mut self) -> &mut (Self::Scalar, Self::Scalar) { ... } fn as_array_mut(&mut self) -> &mut [Self::Scalar; 2] { ... } fn as_slice_mut(&mut self) -> &mut [Self::Scalar] { ... }
}
Expand description

Interface of vector X2 for structures with the canonical layout.

Required Methods

First element.

Second element.

First element.

Second element.

Canonical representation of the vector.

Mutable canonical representation of the vector.

Provided Methods

Assign value.

First element.

Second element.

First element.

Second element.

Interpret as tuple.

Interpret as array.

Interpret as slice.

Interpret as mutable tuple.

Interpret as mutable array.

Interpret as mutable slice.

Implementations on Foreign Types

Implementors