Skip to main content

FArray2

Struct FArray2 

Source
pub struct FArray2<F: Float, const D: usize, const D2: usize> { /* private fields */ }
Expand description

The FArray2 is a wrapper around a D2 = D^2` sized array of Floats.

It provides implementations of the traits required for a SqMatrix trait operating on an FArray of dimesion D.

Trait Implementations§

Source§

impl<'a> Add for &'a FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the + operator.
Source§

fn add(self, other: &'a FArray2<f32, 2, 4>) -> FArray2<f32, 2, 4>

Performs the + operation. Read more
Source§

impl<'a> Add for &'a FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the + operator.
Source§

fn add(self, other: &'a FArray2<f32, 3, 9>) -> FArray2<f32, 3, 9>

Performs the + operation. Read more
Source§

impl<'a> Add for &'a FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the + operator.
Source§

fn add(self, other: &'a FArray2<f32, 4, 16>) -> FArray2<f32, 4, 16>

Performs the + operation. Read more
Source§

impl<'a> Add for &'a FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the + operator.
Source§

fn add(self, other: &'a FArray2<f64, 2, 4>) -> FArray2<f64, 2, 4>

Performs the + operation. Read more
Source§

impl<'a> Add for &'a FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the + operator.
Source§

fn add(self, other: &'a FArray2<f64, 3, 9>) -> FArray2<f64, 3, 9>

Performs the + operation. Read more
Source§

impl<'a> Add for &'a FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the + operator.
Source§

fn add(self, other: &'a FArray2<f64, 4, 16>) -> FArray2<f64, 4, 16>

Performs the + operation. Read more
Source§

impl<'a> Add<&'a FArray2<f32, 2, 4>> for FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the + operator.
Source§

fn add(self, other: &'a FArray2<f32, 2, 4>) -> FArray2<f32, 2, 4>

Performs the + operation. Read more
Source§

impl<'a> Add<&'a FArray2<f32, 3, 9>> for FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the + operator.
Source§

fn add(self, other: &'a FArray2<f32, 3, 9>) -> FArray2<f32, 3, 9>

Performs the + operation. Read more
Source§

impl<'a> Add<&'a FArray2<f32, 4, 16>> for FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the + operator.
Source§

fn add(self, other: &'a FArray2<f32, 4, 16>) -> FArray2<f32, 4, 16>

Performs the + operation. Read more
Source§

impl<'a> Add<&'a FArray2<f64, 2, 4>> for FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the + operator.
Source§

fn add(self, other: &'a FArray2<f64, 2, 4>) -> FArray2<f64, 2, 4>

Performs the + operation. Read more
Source§

impl<'a> Add<&'a FArray2<f64, 3, 9>> for FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the + operator.
Source§

fn add(self, other: &'a FArray2<f64, 3, 9>) -> FArray2<f64, 3, 9>

Performs the + operation. Read more
Source§

impl<'a> Add<&'a FArray2<f64, 4, 16>> for FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the + operator.
Source§

fn add(self, other: &'a FArray2<f64, 4, 16>) -> FArray2<f64, 4, 16>

Performs the + operation. Read more
Source§

impl<'a, D: Deref<Target = [f32; 4]>> Add<D> for &'a FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the + operator.
Source§

fn add(self, other: D) -> FArray2<f32, 2, 4>

Performs the + operation. Read more
Source§

impl<'a, D: Deref<Target = [f32; 9]>> Add<D> for &'a FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the + operator.
Source§

fn add(self, other: D) -> FArray2<f32, 3, 9>

Performs the + operation. Read more
Source§

impl<'a, D: Deref<Target = [f32; 16]>> Add<D> for &'a FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the + operator.
Source§

fn add(self, other: D) -> FArray2<f32, 4, 16>

Performs the + operation. Read more
Source§

impl<'a, D: Deref<Target = [f64; 4]>> Add<D> for &'a FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the + operator.
Source§

fn add(self, other: D) -> FArray2<f64, 2, 4>

Performs the + operation. Read more
Source§

impl<'a, D: Deref<Target = [f64; 9]>> Add<D> for &'a FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the + operator.
Source§

fn add(self, other: D) -> FArray2<f64, 3, 9>

Performs the + operation. Read more
Source§

impl<'a, D: Deref<Target = [f64; 16]>> Add<D> for &'a FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the + operator.
Source§

fn add(self, other: D) -> FArray2<f64, 4, 16>

Performs the + operation. Read more
Source§

impl<D: Deref<Target = [f32; 4]>> Add<D> for FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the + operator.
Source§

fn add(self, other: D) -> FArray2<f32, 2, 4>

Performs the + operation. Read more
Source§

impl<D: Deref<Target = [f32; 9]>> Add<D> for FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the + operator.
Source§

fn add(self, other: D) -> FArray2<f32, 3, 9>

Performs the + operation. Read more
Source§

impl<D: Deref<Target = [f32; 16]>> Add<D> for FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the + operator.
Source§

fn add(self, other: D) -> FArray2<f32, 4, 16>

Performs the + operation. Read more
Source§

impl<D: Deref<Target = [f64; 4]>> Add<D> for FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the + operator.
Source§

fn add(self, other: D) -> FArray2<f64, 2, 4>

Performs the + operation. Read more
Source§

impl<D: Deref<Target = [f64; 9]>> Add<D> for FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the + operator.
Source§

fn add(self, other: D) -> FArray2<f64, 3, 9>

Performs the + operation. Read more
Source§

impl<D: Deref<Target = [f64; 16]>> Add<D> for FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the + operator.
Source§

fn add(self, other: D) -> FArray2<f64, 4, 16>

Performs the + operation. Read more
Source§

impl<'a> AddAssign<&'a FArray2<f32, 2, 4>> for &mut FArray2<f32, 2, 4>

Source§

fn add_assign(&mut self, other: &'a FArray2<f32, 2, 4>)

Performs the += operation. Read more
Source§

impl<'a> AddAssign<&'a FArray2<f32, 2, 4>> for FArray2<f32, 2, 4>

Source§

fn add_assign(&mut self, other: &'a FArray2<f32, 2, 4>)

Performs the += operation. Read more
Source§

impl<'a> AddAssign<&'a FArray2<f32, 3, 9>> for &mut FArray2<f32, 3, 9>

Source§

fn add_assign(&mut self, other: &'a FArray2<f32, 3, 9>)

Performs the += operation. Read more
Source§

impl<'a> AddAssign<&'a FArray2<f32, 3, 9>> for FArray2<f32, 3, 9>

Source§

fn add_assign(&mut self, other: &'a FArray2<f32, 3, 9>)

Performs the += operation. Read more
Source§

impl<'a> AddAssign<&'a FArray2<f32, 4, 16>> for &mut FArray2<f32, 4, 16>

Source§

fn add_assign(&mut self, other: &'a FArray2<f32, 4, 16>)

Performs the += operation. Read more
Source§

impl<'a> AddAssign<&'a FArray2<f32, 4, 16>> for FArray2<f32, 4, 16>

Source§

fn add_assign(&mut self, other: &'a FArray2<f32, 4, 16>)

Performs the += operation. Read more
Source§

impl<'a> AddAssign<&'a FArray2<f64, 2, 4>> for &mut FArray2<f64, 2, 4>

Source§

fn add_assign(&mut self, other: &'a FArray2<f64, 2, 4>)

Performs the += operation. Read more
Source§

impl<'a> AddAssign<&'a FArray2<f64, 2, 4>> for FArray2<f64, 2, 4>

Source§

fn add_assign(&mut self, other: &'a FArray2<f64, 2, 4>)

Performs the += operation. Read more
Source§

impl<'a> AddAssign<&'a FArray2<f64, 3, 9>> for &mut FArray2<f64, 3, 9>

Source§

fn add_assign(&mut self, other: &'a FArray2<f64, 3, 9>)

Performs the += operation. Read more
Source§

impl<'a> AddAssign<&'a FArray2<f64, 3, 9>> for FArray2<f64, 3, 9>

Source§

fn add_assign(&mut self, other: &'a FArray2<f64, 3, 9>)

Performs the += operation. Read more
Source§

impl<'a> AddAssign<&'a FArray2<f64, 4, 16>> for &mut FArray2<f64, 4, 16>

Source§

fn add_assign(&mut self, other: &'a FArray2<f64, 4, 16>)

Performs the += operation. Read more
Source§

impl<'a> AddAssign<&'a FArray2<f64, 4, 16>> for FArray2<f64, 4, 16>

Source§

fn add_assign(&mut self, other: &'a FArray2<f64, 4, 16>)

Performs the += operation. Read more
Source§

impl<D: Deref<Target = [f32; 4]>> AddAssign<D> for &mut FArray2<f32, 2, 4>

Source§

fn add_assign(&mut self, other: D)

Performs the += operation. Read more
Source§

impl<D: Deref<Target = [f32; 9]>> AddAssign<D> for &mut FArray2<f32, 3, 9>

Source§

fn add_assign(&mut self, other: D)

Performs the += operation. Read more
Source§

impl<D: Deref<Target = [f32; 16]>> AddAssign<D> for &mut FArray2<f32, 4, 16>

Source§

fn add_assign(&mut self, other: D)

Performs the += operation. Read more
Source§

impl<D: Deref<Target = [f64; 4]>> AddAssign<D> for &mut FArray2<f64, 2, 4>

Source§

fn add_assign(&mut self, other: D)

Performs the += operation. Read more
Source§

impl<D: Deref<Target = [f64; 9]>> AddAssign<D> for &mut FArray2<f64, 3, 9>

Source§

fn add_assign(&mut self, other: D)

Performs the += operation. Read more
Source§

impl<D: Deref<Target = [f64; 16]>> AddAssign<D> for &mut FArray2<f64, 4, 16>

Source§

fn add_assign(&mut self, other: D)

Performs the += operation. Read more
Source§

impl<D: Deref<Target = [f32; 4]>> AddAssign<D> for FArray2<f32, 2, 4>

Source§

fn add_assign(&mut self, other: D)

Performs the += operation. Read more
Source§

impl<D: Deref<Target = [f32; 9]>> AddAssign<D> for FArray2<f32, 3, 9>

Source§

fn add_assign(&mut self, other: D)

Performs the += operation. Read more
Source§

impl<D: Deref<Target = [f32; 16]>> AddAssign<D> for FArray2<f32, 4, 16>

Source§

fn add_assign(&mut self, other: D)

Performs the += operation. Read more
Source§

impl<D: Deref<Target = [f64; 4]>> AddAssign<D> for FArray2<f64, 2, 4>

Source§

fn add_assign(&mut self, other: D)

Performs the += operation. Read more
Source§

impl<D: Deref<Target = [f64; 9]>> AddAssign<D> for FArray2<f64, 3, 9>

Source§

fn add_assign(&mut self, other: D)

Performs the += operation. Read more
Source§

impl<D: Deref<Target = [f64; 16]>> AddAssign<D> for FArray2<f64, 4, 16>

Source§

fn add_assign(&mut self, other: D)

Performs the += operation. Read more
Source§

impl AsMut<[f32; 4]> for FArray2<f32, 2, 4>

Source§

fn as_mut(&mut self) -> &mut [f32; 4]

Converts this type into a mutable reference of the (usually inferred) input type.
Source§

impl AsMut<[f32; 9]> for FArray2<f32, 3, 9>

Source§

fn as_mut(&mut self) -> &mut [f32; 9]

Converts this type into a mutable reference of the (usually inferred) input type.
Source§

impl AsMut<[f32; 16]> for FArray2<f32, 4, 16>

Source§

fn as_mut(&mut self) -> &mut [f32; 16]

Converts this type into a mutable reference of the (usually inferred) input type.
Source§

impl AsMut<[f64; 4]> for FArray2<f64, 2, 4>

Source§

fn as_mut(&mut self) -> &mut [f64; 4]

Converts this type into a mutable reference of the (usually inferred) input type.
Source§

impl AsMut<[f64; 9]> for FArray2<f64, 3, 9>

Source§

fn as_mut(&mut self) -> &mut [f64; 9]

Converts this type into a mutable reference of the (usually inferred) input type.
Source§

impl AsMut<[f64; 16]> for FArray2<f64, 4, 16>

Source§

fn as_mut(&mut self) -> &mut [f64; 16]

Converts this type into a mutable reference of the (usually inferred) input type.
Source§

impl AsRef<[f32; 4]> for FArray2<f32, 2, 4>

Source§

fn as_ref(&self) -> &[f32; 4]

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<[f32; 9]> for FArray2<f32, 3, 9>

Source§

fn as_ref(&self) -> &[f32; 9]

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<[f32; 16]> for FArray2<f32, 4, 16>

Source§

fn as_ref(&self) -> &[f32; 16]

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<[f64; 4]> for FArray2<f64, 2, 4>

Source§

fn as_ref(&self) -> &[f64; 4]

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<[f64; 9]> for FArray2<f64, 3, 9>

Source§

fn as_ref(&self) -> &[f64; 9]

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<[f64; 16]> for FArray2<f64, 4, 16>

Source§

fn as_ref(&self) -> &[f64; 16]

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl<F: Clone + Float, const D: usize, const D2: usize> Clone for FArray2<F, D, D2>

Source§

fn clone(&self) -> FArray2<F, D, D2>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl<F: Copy + Float, const D: usize, const D2: usize> Copy for FArray2<F, D, D2>

Source§

impl<F: Debug + Float, const D: usize, const D2: usize> Debug for FArray2<F, D, D2>

Source§

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

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

impl Default for FArray2<f32, 2, 4>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Default for FArray2<f32, 3, 9>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Default for FArray2<f32, 4, 16>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Default for FArray2<f64, 2, 4>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Default for FArray2<f64, 3, 9>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Default for FArray2<f64, 4, 16>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Deref for FArray2<f32, 2, 4>

Source§

type Target = [f32; 4]

The resulting type after dereferencing.
Source§

fn deref(&self) -> &[f32; 4]

Dereferences the value.
Source§

impl Deref for FArray2<f32, 3, 9>

Source§

type Target = [f32; 9]

The resulting type after dereferencing.
Source§

fn deref(&self) -> &[f32; 9]

Dereferences the value.
Source§

impl Deref for FArray2<f32, 4, 16>

Source§

type Target = [f32; 16]

The resulting type after dereferencing.
Source§

fn deref(&self) -> &[f32; 16]

Dereferences the value.
Source§

impl Deref for FArray2<f64, 2, 4>

Source§

type Target = [f64; 4]

The resulting type after dereferencing.
Source§

fn deref(&self) -> &[f64; 4]

Dereferences the value.
Source§

impl Deref for FArray2<f64, 3, 9>

Source§

type Target = [f64; 9]

The resulting type after dereferencing.
Source§

fn deref(&self) -> &[f64; 9]

Dereferences the value.
Source§

impl Deref for FArray2<f64, 4, 16>

Source§

type Target = [f64; 16]

The resulting type after dereferencing.
Source§

fn deref(&self) -> &[f64; 16]

Dereferences the value.
Source§

impl DerefMut for FArray2<f32, 2, 4>

Source§

fn deref_mut(&mut self) -> &mut [f32; 4]

Mutably dereferences the value.
Source§

impl DerefMut for FArray2<f32, 3, 9>

Source§

fn deref_mut(&mut self) -> &mut [f32; 9]

Mutably dereferences the value.
Source§

impl DerefMut for FArray2<f32, 4, 16>

Source§

fn deref_mut(&mut self) -> &mut [f32; 16]

Mutably dereferences the value.
Source§

impl DerefMut for FArray2<f64, 2, 4>

Source§

fn deref_mut(&mut self) -> &mut [f64; 4]

Mutably dereferences the value.
Source§

impl DerefMut for FArray2<f64, 3, 9>

Source§

fn deref_mut(&mut self) -> &mut [f64; 9]

Mutably dereferences the value.
Source§

impl DerefMut for FArray2<f64, 4, 16>

Source§

fn deref_mut(&mut self) -> &mut [f64; 16]

Mutably dereferences the value.
Source§

impl<'de> Deserialize<'de> for FArray2<f32, 2, 4>

Available on crate feature serde only.
Source§

fn deserialize<DE>(deserializer: DE) -> Result<Self, DE::Error>
where DE: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'de> Deserialize<'de> for FArray2<f32, 3, 9>

Available on crate feature serde only.
Source§

fn deserialize<DE>(deserializer: DE) -> Result<Self, DE::Error>
where DE: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'de> Deserialize<'de> for FArray2<f32, 4, 16>

Available on crate feature serde only.
Source§

fn deserialize<DE>(deserializer: DE) -> Result<Self, DE::Error>
where DE: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'de> Deserialize<'de> for FArray2<f64, 2, 4>

Available on crate feature serde only.
Source§

fn deserialize<DE>(deserializer: DE) -> Result<Self, DE::Error>
where DE: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'de> Deserialize<'de> for FArray2<f64, 3, 9>

Available on crate feature serde only.
Source§

fn deserialize<DE>(deserializer: DE) -> Result<Self, DE::Error>
where DE: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'de> Deserialize<'de> for FArray2<f64, 4, 16>

Available on crate feature serde only.
Source§

fn deserialize<DE>(deserializer: DE) -> Result<Self, DE::Error>
where DE: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for FArray2<f32, 2, 4>

Source§

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

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

impl Display for FArray2<f32, 3, 9>

Source§

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

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

impl Display for FArray2<f32, 4, 16>

Source§

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

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

impl Display for FArray2<f64, 2, 4>

Source§

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

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

impl Display for FArray2<f64, 3, 9>

Source§

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

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

impl Display for FArray2<f64, 4, 16>

Source§

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

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

impl<'a> Div<&'a f32> for FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the / operator.
Source§

fn div(self, other: &'a f32) -> FArray2<f32, 2, 4>

Performs the / operation. Read more
Source§

impl<'a> Div<&'a f32> for FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the / operator.
Source§

fn div(self, other: &'a f32) -> FArray2<f32, 3, 9>

Performs the / operation. Read more
Source§

impl<'a> Div<&'a f32> for FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the / operator.
Source§

fn div(self, other: &'a f32) -> FArray2<f32, 4, 16>

Performs the / operation. Read more
Source§

impl<'a> Div<&'a f64> for FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the / operator.
Source§

fn div(self, other: &'a f64) -> FArray2<f64, 2, 4>

Performs the / operation. Read more
Source§

impl<'a> Div<&'a f64> for FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the / operator.
Source§

fn div(self, other: &'a f64) -> FArray2<f64, 3, 9>

Performs the / operation. Read more
Source§

impl<'a> Div<&'a f64> for FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the / operator.
Source§

fn div(self, other: &'a f64) -> FArray2<f64, 4, 16>

Performs the / operation. Read more
Source§

impl<'a> Div<f32> for &'a FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the / operator.
Source§

fn div(self, other: f32) -> FArray2<f32, 2, 4>

Performs the / operation. Read more
Source§

impl<'a> Div<f32> for &'a FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the / operator.
Source§

fn div(self, other: f32) -> FArray2<f32, 3, 9>

Performs the / operation. Read more
Source§

impl<'a> Div<f32> for &'a FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the / operator.
Source§

fn div(self, other: f32) -> FArray2<f32, 4, 16>

Performs the / operation. Read more
Source§

impl Div<f32> for FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the / operator.
Source§

fn div(self, other: f32) -> FArray2<f32, 2, 4>

Performs the / operation. Read more
Source§

impl Div<f32> for FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the / operator.
Source§

fn div(self, other: f32) -> FArray2<f32, 3, 9>

Performs the / operation. Read more
Source§

impl Div<f32> for FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the / operator.
Source§

fn div(self, other: f32) -> FArray2<f32, 4, 16>

Performs the / operation. Read more
Source§

impl<'a> Div<f64> for &'a FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the / operator.
Source§

fn div(self, other: f64) -> FArray2<f64, 2, 4>

Performs the / operation. Read more
Source§

impl<'a> Div<f64> for &'a FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the / operator.
Source§

fn div(self, other: f64) -> FArray2<f64, 3, 9>

Performs the / operation. Read more
Source§

impl<'a> Div<f64> for &'a FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the / operator.
Source§

fn div(self, other: f64) -> FArray2<f64, 4, 16>

Performs the / operation. Read more
Source§

impl Div<f64> for FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the / operator.
Source§

fn div(self, other: f64) -> FArray2<f64, 2, 4>

Performs the / operation. Read more
Source§

impl Div<f64> for FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the / operator.
Source§

fn div(self, other: f64) -> FArray2<f64, 3, 9>

Performs the / operation. Read more
Source§

impl Div<f64> for FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the / operator.
Source§

fn div(self, other: f64) -> FArray2<f64, 4, 16>

Performs the / operation. Read more
Source§

impl<'a> DivAssign<&'a f32> for FArray2<f32, 2, 4>

Source§

fn div_assign(&mut self, other: &'a f32)

Performs the /= operation. Read more
Source§

impl<'a> DivAssign<&'a f32> for FArray2<f32, 3, 9>

Source§

fn div_assign(&mut self, other: &'a f32)

Performs the /= operation. Read more
Source§

impl<'a> DivAssign<&'a f32> for FArray2<f32, 4, 16>

Source§

fn div_assign(&mut self, other: &'a f32)

Performs the /= operation. Read more
Source§

impl<'a> DivAssign<&'a f64> for FArray2<f64, 2, 4>

Source§

fn div_assign(&mut self, other: &'a f64)

Performs the /= operation. Read more
Source§

impl<'a> DivAssign<&'a f64> for FArray2<f64, 3, 9>

Source§

fn div_assign(&mut self, other: &'a f64)

Performs the /= operation. Read more
Source§

impl<'a> DivAssign<&'a f64> for FArray2<f64, 4, 16>

Source§

fn div_assign(&mut self, other: &'a f64)

Performs the /= operation. Read more
Source§

impl DivAssign<f32> for FArray2<f32, 2, 4>

Source§

fn div_assign(&mut self, other: f32)

Performs the /= operation. Read more
Source§

impl DivAssign<f32> for FArray2<f32, 3, 9>

Source§

fn div_assign(&mut self, other: f32)

Performs the /= operation. Read more
Source§

impl DivAssign<f32> for FArray2<f32, 4, 16>

Source§

fn div_assign(&mut self, other: f32)

Performs the /= operation. Read more
Source§

impl DivAssign<f64> for FArray2<f64, 2, 4>

Source§

fn div_assign(&mut self, other: f64)

Performs the /= operation. Read more
Source§

impl DivAssign<f64> for FArray2<f64, 3, 9>

Source§

fn div_assign(&mut self, other: f64)

Performs the /= operation. Read more
Source§

impl DivAssign<f64> for FArray2<f64, 4, 16>

Source§

fn div_assign(&mut self, other: f64)

Performs the /= operation. Read more
Source§

impl<'a> From<&'a FArray2<f32, 2, 4>> for &'a [f32; 4]

Source§

fn from(s: &'a FArray2<f32, 2, 4>) -> &'a [f32; 4]

Converts to this type from the input type.
Source§

impl<'a> From<&'a FArray2<f32, 2, 4>> for [f32; 4]

Source§

fn from(s: &'a FArray2<f32, 2, 4>) -> [f32; 4]

Converts to this type from the input type.
Source§

impl<'a> From<&'a FArray2<f32, 3, 9>> for &'a [f32; 9]

Source§

fn from(s: &'a FArray2<f32, 3, 9>) -> &'a [f32; 9]

Converts to this type from the input type.
Source§

impl<'a> From<&'a FArray2<f32, 3, 9>> for [f32; 9]

Source§

fn from(s: &'a FArray2<f32, 3, 9>) -> [f32; 9]

Converts to this type from the input type.
Source§

impl<'a> From<&'a FArray2<f32, 4, 16>> for &'a [f32; 16]

Source§

fn from(s: &'a FArray2<f32, 4, 16>) -> &'a [f32; 16]

Converts to this type from the input type.
Source§

impl<'a> From<&'a FArray2<f32, 4, 16>> for [f32; 16]

Source§

fn from(s: &'a FArray2<f32, 4, 16>) -> [f32; 16]

Converts to this type from the input type.
Source§

impl<'a> From<&'a FArray2<f64, 2, 4>> for &'a [f64; 4]

Source§

fn from(s: &'a FArray2<f64, 2, 4>) -> &'a [f64; 4]

Converts to this type from the input type.
Source§

impl<'a> From<&'a FArray2<f64, 2, 4>> for [f64; 4]

Source§

fn from(s: &'a FArray2<f64, 2, 4>) -> [f64; 4]

Converts to this type from the input type.
Source§

impl<'a> From<&'a FArray2<f64, 3, 9>> for &'a [f64; 9]

Source§

fn from(s: &'a FArray2<f64, 3, 9>) -> &'a [f64; 9]

Converts to this type from the input type.
Source§

impl<'a> From<&'a FArray2<f64, 3, 9>> for [f64; 9]

Source§

fn from(s: &'a FArray2<f64, 3, 9>) -> [f64; 9]

Converts to this type from the input type.
Source§

impl<'a> From<&'a FArray2<f64, 4, 16>> for &'a [f64; 16]

Source§

fn from(s: &'a FArray2<f64, 4, 16>) -> &'a [f64; 16]

Converts to this type from the input type.
Source§

impl<'a> From<&'a FArray2<f64, 4, 16>> for [f64; 16]

Source§

fn from(s: &'a FArray2<f64, 4, 16>) -> [f64; 16]

Converts to this type from the input type.
Source§

impl<'a> From<&'a [f32; 4]> for FArray2<f32, 2, 4>

Source§

fn from(data: &'a [f32; 4]) -> FArray2<f32, 2, 4>

Converts to this type from the input type.
Source§

impl<'a> From<&'a [f32; 9]> for FArray2<f32, 3, 9>

Source§

fn from(data: &'a [f32; 9]) -> FArray2<f32, 3, 9>

Converts to this type from the input type.
Source§

impl<'a> From<&'a [f32; 16]> for FArray2<f32, 4, 16>

Source§

fn from(data: &'a [f32; 16]) -> FArray2<f32, 4, 16>

Converts to this type from the input type.
Source§

impl<'a> From<&'a [f64; 4]> for FArray2<f64, 2, 4>

Source§

fn from(data: &'a [f64; 4]) -> FArray2<f64, 2, 4>

Converts to this type from the input type.
Source§

impl<'a> From<&'a [f64; 9]> for FArray2<f64, 3, 9>

Source§

fn from(data: &'a [f64; 9]) -> FArray2<f64, 3, 9>

Converts to this type from the input type.
Source§

impl<'a> From<&'a [f64; 16]> for FArray2<f64, 4, 16>

Source§

fn from(data: &'a [f64; 16]) -> FArray2<f64, 4, 16>

Converts to this type from the input type.
Source§

impl From<FArray2<f32, 2, 4>> for [f32; 4]

Source§

fn from(s: FArray2<f32, 2, 4>) -> [f32; 4]

Converts to this type from the input type.
Source§

impl From<FArray2<f32, 3, 9>> for [f32; 9]

Source§

fn from(s: FArray2<f32, 3, 9>) -> [f32; 9]

Converts to this type from the input type.
Source§

impl From<FArray2<f32, 4, 16>> for [f32; 16]

Source§

fn from(s: FArray2<f32, 4, 16>) -> [f32; 16]

Converts to this type from the input type.
Source§

impl From<FArray2<f64, 2, 4>> for [f64; 4]

Source§

fn from(s: FArray2<f64, 2, 4>) -> [f64; 4]

Converts to this type from the input type.
Source§

impl From<FArray2<f64, 3, 9>> for [f64; 9]

Source§

fn from(s: FArray2<f64, 3, 9>) -> [f64; 9]

Converts to this type from the input type.
Source§

impl From<FArray2<f64, 4, 16>> for [f64; 16]

Source§

fn from(s: FArray2<f64, 4, 16>) -> [f64; 16]

Converts to this type from the input type.
Source§

impl From<[f32; 4]> for FArray2<f32, 2, 4>

Source§

fn from(data: [f32; 4]) -> FArray2<f32, 2, 4>

Converts to this type from the input type.
Source§

impl From<[f32; 9]> for FArray2<f32, 3, 9>

Source§

fn from(data: [f32; 9]) -> FArray2<f32, 3, 9>

Converts to this type from the input type.
Source§

impl From<[f32; 16]> for FArray2<f32, 4, 16>

Source§

fn from(data: [f32; 16]) -> FArray2<f32, 4, 16>

Converts to this type from the input type.
Source§

impl From<[f64; 4]> for FArray2<f64, 2, 4>

Source§

fn from(data: [f64; 4]) -> FArray2<f64, 2, 4>

Converts to this type from the input type.
Source§

impl From<[f64; 9]> for FArray2<f64, 3, 9>

Source§

fn from(data: [f64; 9]) -> FArray2<f64, 3, 9>

Converts to this type from the input type.
Source§

impl From<[f64; 16]> for FArray2<f64, 4, 16>

Source§

fn from(data: [f64; 16]) -> FArray2<f64, 4, 16>

Converts to this type from the input type.
Source§

impl Index<usize> for FArray2<f32, 2, 4>

Source§

type Output = f32

The returned type after indexing.
Source§

fn index(&self, index: usize) -> &f32

Performs the indexing (container[index]) operation. Read more
Source§

impl Index<usize> for FArray2<f32, 3, 9>

Source§

type Output = f32

The returned type after indexing.
Source§

fn index(&self, index: usize) -> &f32

Performs the indexing (container[index]) operation. Read more
Source§

impl Index<usize> for FArray2<f32, 4, 16>

Source§

type Output = f32

The returned type after indexing.
Source§

fn index(&self, index: usize) -> &f32

Performs the indexing (container[index]) operation. Read more
Source§

impl Index<usize> for FArray2<f64, 2, 4>

Source§

type Output = f64

The returned type after indexing.
Source§

fn index(&self, index: usize) -> &f64

Performs the indexing (container[index]) operation. Read more
Source§

impl Index<usize> for FArray2<f64, 3, 9>

Source§

type Output = f64

The returned type after indexing.
Source§

fn index(&self, index: usize) -> &f64

Performs the indexing (container[index]) operation. Read more
Source§

impl Index<usize> for FArray2<f64, 4, 16>

Source§

type Output = f64

The returned type after indexing.
Source§

fn index(&self, index: usize) -> &f64

Performs the indexing (container[index]) operation. Read more
Source§

impl IndexMut<usize> for FArray2<f32, 2, 4>

Source§

fn index_mut(&mut self, index: usize) -> &mut f32

Performs the mutable indexing (container[index]) operation. Read more
Source§

impl IndexMut<usize> for FArray2<f32, 3, 9>

Source§

fn index_mut(&mut self, index: usize) -> &mut f32

Performs the mutable indexing (container[index]) operation. Read more
Source§

impl IndexMut<usize> for FArray2<f32, 4, 16>

Source§

fn index_mut(&mut self, index: usize) -> &mut f32

Performs the mutable indexing (container[index]) operation. Read more
Source§

impl IndexMut<usize> for FArray2<f64, 2, 4>

Source§

fn index_mut(&mut self, index: usize) -> &mut f64

Performs the mutable indexing (container[index]) operation. Read more
Source§

impl IndexMut<usize> for FArray2<f64, 3, 9>

Source§

fn index_mut(&mut self, index: usize) -> &mut f64

Performs the mutable indexing (container[index]) operation. Read more
Source§

impl IndexMut<usize> for FArray2<f64, 4, 16>

Source§

fn index_mut(&mut self, index: usize) -> &mut f64

Performs the mutable indexing (container[index]) operation. Read more
Source§

impl Mul for FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
Source§

impl Mul for FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
Source§

impl Mul for FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
Source§

impl Mul for FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
Source§

impl Mul for FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
Source§

impl Mul for FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Self) -> Self

Performs the * operation. Read more
Source§

impl<'a> Mul<&'a f32> for FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the * operator.
Source§

fn mul(self, other: &'a f32) -> FArray2<f32, 2, 4>

Performs the * operation. Read more
Source§

impl<'a> Mul<&'a f32> for FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the * operator.
Source§

fn mul(self, other: &'a f32) -> FArray2<f32, 3, 9>

Performs the * operation. Read more
Source§

impl<'a> Mul<&'a f32> for FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the * operator.
Source§

fn mul(self, other: &'a f32) -> FArray2<f32, 4, 16>

Performs the * operation. Read more
Source§

impl<'a> Mul<&'a f64> for FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the * operator.
Source§

fn mul(self, other: &'a f64) -> FArray2<f64, 2, 4>

Performs the * operation. Read more
Source§

impl<'a> Mul<&'a f64> for FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the * operator.
Source§

fn mul(self, other: &'a f64) -> FArray2<f64, 3, 9>

Performs the * operation. Read more
Source§

impl<'a> Mul<&'a f64> for FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the * operator.
Source§

fn mul(self, other: &'a f64) -> FArray2<f64, 4, 16>

Performs the * operation. Read more
Source§

impl Mul<FArray<f32, 4>> for FArray2<f32, 4, 16>

Source§

type Output = FArray<f32, 4>

The resulting type after applying the * operator.
Source§

fn mul(self, v: FArray<f32, 4>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<FArray<f64, 4>> for FArray2<f64, 4, 16>

Source§

type Output = FArray<f64, 4>

The resulting type after applying the * operator.
Source§

fn mul(self, v: FArray<f64, 4>) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<f32> for &'a FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the * operator.
Source§

fn mul(self, other: f32) -> FArray2<f32, 2, 4>

Performs the * operation. Read more
Source§

impl<'a> Mul<f32> for &'a FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the * operator.
Source§

fn mul(self, other: f32) -> FArray2<f32, 3, 9>

Performs the * operation. Read more
Source§

impl<'a> Mul<f32> for &'a FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the * operator.
Source§

fn mul(self, other: f32) -> FArray2<f32, 4, 16>

Performs the * operation. Read more
Source§

impl Mul<f32> for FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the * operator.
Source§

fn mul(self, other: f32) -> FArray2<f32, 2, 4>

Performs the * operation. Read more
Source§

impl Mul<f32> for FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the * operator.
Source§

fn mul(self, other: f32) -> FArray2<f32, 3, 9>

Performs the * operation. Read more
Source§

impl Mul<f32> for FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the * operator.
Source§

fn mul(self, other: f32) -> FArray2<f32, 4, 16>

Performs the * operation. Read more
Source§

impl<'a> Mul<f64> for &'a FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the * operator.
Source§

fn mul(self, other: f64) -> FArray2<f64, 2, 4>

Performs the * operation. Read more
Source§

impl<'a> Mul<f64> for &'a FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the * operator.
Source§

fn mul(self, other: f64) -> FArray2<f64, 3, 9>

Performs the * operation. Read more
Source§

impl<'a> Mul<f64> for &'a FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the * operator.
Source§

fn mul(self, other: f64) -> FArray2<f64, 4, 16>

Performs the * operation. Read more
Source§

impl Mul<f64> for FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the * operator.
Source§

fn mul(self, other: f64) -> FArray2<f64, 2, 4>

Performs the * operation. Read more
Source§

impl Mul<f64> for FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the * operator.
Source§

fn mul(self, other: f64) -> FArray2<f64, 3, 9>

Performs the * operation. Read more
Source§

impl Mul<f64> for FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the * operator.
Source§

fn mul(self, other: f64) -> FArray2<f64, 4, 16>

Performs the * operation. Read more
Source§

impl MulAssign for FArray2<f32, 2, 4>

Source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
Source§

impl MulAssign for FArray2<f32, 3, 9>

Source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
Source§

impl MulAssign for FArray2<f32, 4, 16>

Source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
Source§

impl MulAssign for FArray2<f64, 2, 4>

Source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
Source§

impl MulAssign for FArray2<f64, 3, 9>

Source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
Source§

impl MulAssign for FArray2<f64, 4, 16>

Source§

fn mul_assign(&mut self, other: Self)

Performs the *= operation. Read more
Source§

impl<'a> MulAssign<&'a f32> for FArray2<f32, 2, 4>

Source§

fn mul_assign(&mut self, other: &'a f32)

Performs the *= operation. Read more
Source§

impl<'a> MulAssign<&'a f32> for FArray2<f32, 3, 9>

Source§

fn mul_assign(&mut self, other: &'a f32)

Performs the *= operation. Read more
Source§

impl<'a> MulAssign<&'a f32> for FArray2<f32, 4, 16>

Source§

fn mul_assign(&mut self, other: &'a f32)

Performs the *= operation. Read more
Source§

impl<'a> MulAssign<&'a f64> for FArray2<f64, 2, 4>

Source§

fn mul_assign(&mut self, other: &'a f64)

Performs the *= operation. Read more
Source§

impl<'a> MulAssign<&'a f64> for FArray2<f64, 3, 9>

Source§

fn mul_assign(&mut self, other: &'a f64)

Performs the *= operation. Read more
Source§

impl<'a> MulAssign<&'a f64> for FArray2<f64, 4, 16>

Source§

fn mul_assign(&mut self, other: &'a f64)

Performs the *= operation. Read more
Source§

impl MulAssign<f32> for FArray2<f32, 2, 4>

Source§

fn mul_assign(&mut self, other: f32)

Performs the *= operation. Read more
Source§

impl MulAssign<f32> for FArray2<f32, 3, 9>

Source§

fn mul_assign(&mut self, other: f32)

Performs the *= operation. Read more
Source§

impl MulAssign<f32> for FArray2<f32, 4, 16>

Source§

fn mul_assign(&mut self, other: f32)

Performs the *= operation. Read more
Source§

impl MulAssign<f64> for FArray2<f64, 2, 4>

Source§

fn mul_assign(&mut self, other: f64)

Performs the *= operation. Read more
Source§

impl MulAssign<f64> for FArray2<f64, 3, 9>

Source§

fn mul_assign(&mut self, other: f64)

Performs the *= operation. Read more
Source§

impl MulAssign<f64> for FArray2<f64, 4, 16>

Source§

fn mul_assign(&mut self, other: f64)

Performs the *= operation. Read more
Source§

impl<'a> Neg for &'a FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl<'a> Neg for &'a FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl<'a> Neg for &'a FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl<'a> Neg for &'a FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl<'a> Neg for &'a FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl<'a> Neg for &'a FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl<F: PartialEq + Float, const D: usize, const D2: usize> PartialEq for FArray2<F, D, D2>

Source§

fn eq(&self, other: &FArray2<F, D, D2>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · 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 Serialize for FArray2<f32, 2, 4>

Available on crate feature serde only.
Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Serialize for FArray2<f32, 3, 9>

Available on crate feature serde only.
Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Serialize for FArray2<f32, 4, 16>

Available on crate feature serde only.
Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Serialize for FArray2<f64, 2, 4>

Available on crate feature serde only.
Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Serialize for FArray2<f64, 3, 9>

Available on crate feature serde only.
Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Serialize for FArray2<f64, 4, 16>

Available on crate feature serde only.
Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl SqMatrix<f32, 2, 4> for FArray2<f32, 2, 4>
where FArray<f32, 2>: Vector<f32, 2>,

Source§

fn determinant(&self) -> f32

Calculate the determinant of the matrix
Source§

fn checked_inverse(&self) -> (Self, bool)

Create an inverse matrix, and in indication the inverse could not be created Read more
Source§

fn mul_vec<T>(&self, v: &T) -> T
where T: Deref<Target = [F; D]> + From<[F; D]>,

Apply the matrix to a vector to transform it Read more
Source§

fn mul_vec_arr(&self, v: &[F; D]) -> [F; D]

Apply the matrix to a vector to transform it Read more
Source§

fn identity() -> Self

Create an identity matrix
Source§

fn inverse(&self) -> Self

Create an inverse matrix Read more
Source§

fn opt_inverse(&self) -> Option<Self>

Create an inverse matrix Read more
Source§

fn rotation2d(angle: F) -> Self
where Self: From<[F; 4]>,

Create a 2D rotation matrix by an angle in radians, anticlockwise about the origin
Source§

impl SqMatrix<f32, 3, 9> for FArray2<f32, 3, 9>
where FArray<f32, 3>: Vector<f32, 3>,

Source§

fn determinant(&self) -> f32

Calculate the determinant of the matrix
Source§

fn checked_inverse(&self) -> (Self, bool)

Create an inverse matrix, and in indication the inverse could not be created Read more
Source§

fn mul_vec<T>(&self, v: &T) -> T
where T: Deref<Target = [F; D]> + From<[F; D]>,

Apply the matrix to a vector to transform it Read more
Source§

fn mul_vec_arr(&self, v: &[F; D]) -> [F; D]

Apply the matrix to a vector to transform it Read more
Source§

fn identity() -> Self

Create an identity matrix
Source§

fn inverse(&self) -> Self

Create an inverse matrix Read more
Source§

fn opt_inverse(&self) -> Option<Self>

Create an inverse matrix Read more
Source§

impl SqMatrix<f32, 4, 16> for FArray2<f32, 4, 16>
where FArray<f32, 4>: Vector<f32, 4>,

Source§

fn determinant(&self) -> f32

Calculate the determinant of the matrix
Source§

fn checked_inverse(&self) -> (Self, bool)

Create an inverse matrix, and in indication the inverse could not be created Read more
Source§

fn mul_vec<T>(&self, v: &T) -> T
where T: Deref<Target = [F; D]> + From<[F; D]>,

Apply the matrix to a vector to transform it Read more
Source§

fn mul_vec_arr(&self, v: &[F; D]) -> [F; D]

Apply the matrix to a vector to transform it Read more
Source§

fn identity() -> Self

Create an identity matrix
Source§

fn inverse(&self) -> Self

Create an inverse matrix Read more
Source§

fn opt_inverse(&self) -> Option<Self>

Create an inverse matrix Read more
Source§

impl SqMatrix<f64, 2, 4> for FArray2<f64, 2, 4>
where FArray<f64, 2>: Vector<f64, 2>,

Source§

fn determinant(&self) -> f64

Calculate the determinant of the matrix
Source§

fn checked_inverse(&self) -> (Self, bool)

Create an inverse matrix, and in indication the inverse could not be created Read more
Source§

fn mul_vec<T>(&self, v: &T) -> T
where T: Deref<Target = [F; D]> + From<[F; D]>,

Apply the matrix to a vector to transform it Read more
Source§

fn mul_vec_arr(&self, v: &[F; D]) -> [F; D]

Apply the matrix to a vector to transform it Read more
Source§

fn identity() -> Self

Create an identity matrix
Source§

fn inverse(&self) -> Self

Create an inverse matrix Read more
Source§

fn opt_inverse(&self) -> Option<Self>

Create an inverse matrix Read more
Source§

fn rotation2d(angle: F) -> Self
where Self: From<[F; 4]>,

Create a 2D rotation matrix by an angle in radians, anticlockwise about the origin
Source§

impl SqMatrix<f64, 3, 9> for FArray2<f64, 3, 9>
where FArray<f64, 3>: Vector<f64, 3>,

Source§

fn determinant(&self) -> f64

Calculate the determinant of the matrix
Source§

fn checked_inverse(&self) -> (Self, bool)

Create an inverse matrix, and in indication the inverse could not be created Read more
Source§

fn mul_vec<T>(&self, v: &T) -> T
where T: Deref<Target = [F; D]> + From<[F; D]>,

Apply the matrix to a vector to transform it Read more
Source§

fn mul_vec_arr(&self, v: &[F; D]) -> [F; D]

Apply the matrix to a vector to transform it Read more
Source§

fn identity() -> Self

Create an identity matrix
Source§

fn inverse(&self) -> Self

Create an inverse matrix Read more
Source§

fn opt_inverse(&self) -> Option<Self>

Create an inverse matrix Read more
Source§

impl SqMatrix<f64, 4, 16> for FArray2<f64, 4, 16>
where FArray<f64, 4>: Vector<f64, 4>,

Source§

fn determinant(&self) -> f64

Calculate the determinant of the matrix
Source§

fn checked_inverse(&self) -> (Self, bool)

Create an inverse matrix, and in indication the inverse could not be created Read more
Source§

fn mul_vec<T>(&self, v: &T) -> T
where T: Deref<Target = [F; D]> + From<[F; D]>,

Apply the matrix to a vector to transform it Read more
Source§

fn mul_vec_arr(&self, v: &[F; D]) -> [F; D]

Apply the matrix to a vector to transform it Read more
Source§

fn identity() -> Self

Create an identity matrix
Source§

fn inverse(&self) -> Self

Create an inverse matrix Read more
Source§

fn opt_inverse(&self) -> Option<Self>

Create an inverse matrix Read more
Source§

impl<F: Float, const D: usize, const D2: usize> StructuralPartialEq for FArray2<F, D, D2>

Source§

impl<'a> Sub for &'a FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &'a FArray2<f32, 2, 4>) -> FArray2<f32, 2, 4>

Performs the - operation. Read more
Source§

impl<'a> Sub for &'a FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &'a FArray2<f32, 3, 9>) -> FArray2<f32, 3, 9>

Performs the - operation. Read more
Source§

impl<'a> Sub for &'a FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &'a FArray2<f32, 4, 16>) -> FArray2<f32, 4, 16>

Performs the - operation. Read more
Source§

impl<'a> Sub for &'a FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &'a FArray2<f64, 2, 4>) -> FArray2<f64, 2, 4>

Performs the - operation. Read more
Source§

impl<'a> Sub for &'a FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &'a FArray2<f64, 3, 9>) -> FArray2<f64, 3, 9>

Performs the - operation. Read more
Source§

impl<'a> Sub for &'a FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &'a FArray2<f64, 4, 16>) -> FArray2<f64, 4, 16>

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a FArray2<f32, 2, 4>> for FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &'a FArray2<f32, 2, 4>) -> FArray2<f32, 2, 4>

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a FArray2<f32, 3, 9>> for FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &'a FArray2<f32, 3, 9>) -> FArray2<f32, 3, 9>

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a FArray2<f32, 4, 16>> for FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &'a FArray2<f32, 4, 16>) -> FArray2<f32, 4, 16>

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a FArray2<f64, 2, 4>> for FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &'a FArray2<f64, 2, 4>) -> FArray2<f64, 2, 4>

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a FArray2<f64, 3, 9>> for FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &'a FArray2<f64, 3, 9>) -> FArray2<f64, 3, 9>

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a FArray2<f64, 4, 16>> for FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the - operator.
Source§

fn sub(self, other: &'a FArray2<f64, 4, 16>) -> FArray2<f64, 4, 16>

Performs the - operation. Read more
Source§

impl<'a, D: Deref<Target = [f32; 4]>> Sub<D> for &'a FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the - operator.
Source§

fn sub(self, other: D) -> FArray2<f32, 2, 4>

Performs the - operation. Read more
Source§

impl<'a, D: Deref<Target = [f32; 9]>> Sub<D> for &'a FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the - operator.
Source§

fn sub(self, other: D) -> FArray2<f32, 3, 9>

Performs the - operation. Read more
Source§

impl<'a, D: Deref<Target = [f32; 16]>> Sub<D> for &'a FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the - operator.
Source§

fn sub(self, other: D) -> FArray2<f32, 4, 16>

Performs the - operation. Read more
Source§

impl<'a, D: Deref<Target = [f64; 4]>> Sub<D> for &'a FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the - operator.
Source§

fn sub(self, other: D) -> FArray2<f64, 2, 4>

Performs the - operation. Read more
Source§

impl<'a, D: Deref<Target = [f64; 9]>> Sub<D> for &'a FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the - operator.
Source§

fn sub(self, other: D) -> FArray2<f64, 3, 9>

Performs the - operation. Read more
Source§

impl<'a, D: Deref<Target = [f64; 16]>> Sub<D> for &'a FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the - operator.
Source§

fn sub(self, other: D) -> FArray2<f64, 4, 16>

Performs the - operation. Read more
Source§

impl<D: Deref<Target = [f32; 4]>> Sub<D> for FArray2<f32, 2, 4>

Source§

type Output = FArray2<f32, 2, 4>

The resulting type after applying the - operator.
Source§

fn sub(self, other: D) -> FArray2<f32, 2, 4>

Performs the - operation. Read more
Source§

impl<D: Deref<Target = [f32; 9]>> Sub<D> for FArray2<f32, 3, 9>

Source§

type Output = FArray2<f32, 3, 9>

The resulting type after applying the - operator.
Source§

fn sub(self, other: D) -> FArray2<f32, 3, 9>

Performs the - operation. Read more
Source§

impl<D: Deref<Target = [f32; 16]>> Sub<D> for FArray2<f32, 4, 16>

Source§

type Output = FArray2<f32, 4, 16>

The resulting type after applying the - operator.
Source§

fn sub(self, other: D) -> FArray2<f32, 4, 16>

Performs the - operation. Read more
Source§

impl<D: Deref<Target = [f64; 4]>> Sub<D> for FArray2<f64, 2, 4>

Source§

type Output = FArray2<f64, 2, 4>

The resulting type after applying the - operator.
Source§

fn sub(self, other: D) -> FArray2<f64, 2, 4>

Performs the - operation. Read more
Source§

impl<D: Deref<Target = [f64; 9]>> Sub<D> for FArray2<f64, 3, 9>

Source§

type Output = FArray2<f64, 3, 9>

The resulting type after applying the - operator.
Source§

fn sub(self, other: D) -> FArray2<f64, 3, 9>

Performs the - operation. Read more
Source§

impl<D: Deref<Target = [f64; 16]>> Sub<D> for FArray2<f64, 4, 16>

Source§

type Output = FArray2<f64, 4, 16>

The resulting type after applying the - operator.
Source§

fn sub(self, other: D) -> FArray2<f64, 4, 16>

Performs the - operation. Read more
Source§

impl<'a> SubAssign<&'a FArray2<f32, 2, 4>> for &mut FArray2<f32, 2, 4>

Source§

fn sub_assign(&mut self, other: &'a FArray2<f32, 2, 4>)

Performs the -= operation. Read more
Source§

impl<'a> SubAssign<&'a FArray2<f32, 2, 4>> for FArray2<f32, 2, 4>

Source§

fn sub_assign(&mut self, other: &'a FArray2<f32, 2, 4>)

Performs the -= operation. Read more
Source§

impl<'a> SubAssign<&'a FArray2<f32, 3, 9>> for &mut FArray2<f32, 3, 9>

Source§

fn sub_assign(&mut self, other: &'a FArray2<f32, 3, 9>)

Performs the -= operation. Read more
Source§

impl<'a> SubAssign<&'a FArray2<f32, 3, 9>> for FArray2<f32, 3, 9>

Source§

fn sub_assign(&mut self, other: &'a FArray2<f32, 3, 9>)

Performs the -= operation. Read more
Source§

impl<'a> SubAssign<&'a FArray2<f32, 4, 16>> for &mut FArray2<f32, 4, 16>

Source§

fn sub_assign(&mut self, other: &'a FArray2<f32, 4, 16>)

Performs the -= operation. Read more
Source§

impl<'a> SubAssign<&'a FArray2<f32, 4, 16>> for FArray2<f32, 4, 16>

Source§

fn sub_assign(&mut self, other: &'a FArray2<f32, 4, 16>)

Performs the -= operation. Read more
Source§

impl<'a> SubAssign<&'a FArray2<f64, 2, 4>> for &mut FArray2<f64, 2, 4>

Source§

fn sub_assign(&mut self, other: &'a FArray2<f64, 2, 4>)

Performs the -= operation. Read more
Source§

impl<'a> SubAssign<&'a FArray2<f64, 2, 4>> for FArray2<f64, 2, 4>

Source§

fn sub_assign(&mut self, other: &'a FArray2<f64, 2, 4>)

Performs the -= operation. Read more
Source§

impl<'a> SubAssign<&'a FArray2<f64, 3, 9>> for &mut FArray2<f64, 3, 9>

Source§

fn sub_assign(&mut self, other: &'a FArray2<f64, 3, 9>)

Performs the -= operation. Read more
Source§

impl<'a> SubAssign<&'a FArray2<f64, 3, 9>> for FArray2<f64, 3, 9>

Source§

fn sub_assign(&mut self, other: &'a FArray2<f64, 3, 9>)

Performs the -= operation. Read more
Source§

impl<'a> SubAssign<&'a FArray2<f64, 4, 16>> for &mut FArray2<f64, 4, 16>

Source§

fn sub_assign(&mut self, other: &'a FArray2<f64, 4, 16>)

Performs the -= operation. Read more
Source§

impl<'a> SubAssign<&'a FArray2<f64, 4, 16>> for FArray2<f64, 4, 16>

Source§

fn sub_assign(&mut self, other: &'a FArray2<f64, 4, 16>)

Performs the -= operation. Read more
Source§

impl<D: Deref<Target = [f32; 4]>> SubAssign<D> for &mut FArray2<f32, 2, 4>

Source§

fn sub_assign(&mut self, other: D)

Performs the -= operation. Read more
Source§

impl<D: Deref<Target = [f32; 9]>> SubAssign<D> for &mut FArray2<f32, 3, 9>

Source§

fn sub_assign(&mut self, other: D)

Performs the -= operation. Read more
Source§

impl<D: Deref<Target = [f32; 16]>> SubAssign<D> for &mut FArray2<f32, 4, 16>

Source§

fn sub_assign(&mut self, other: D)

Performs the -= operation. Read more
Source§

impl<D: Deref<Target = [f64; 4]>> SubAssign<D> for &mut FArray2<f64, 2, 4>

Source§

fn sub_assign(&mut self, other: D)

Performs the -= operation. Read more
Source§

impl<D: Deref<Target = [f64; 9]>> SubAssign<D> for &mut FArray2<f64, 3, 9>

Source§

fn sub_assign(&mut self, other: D)

Performs the -= operation. Read more
Source§

impl<D: Deref<Target = [f64; 16]>> SubAssign<D> for &mut FArray2<f64, 4, 16>

Source§

fn sub_assign(&mut self, other: D)

Performs the -= operation. Read more
Source§

impl<D: Deref<Target = [f32; 4]>> SubAssign<D> for FArray2<f32, 2, 4>

Source§

fn sub_assign(&mut self, other: D)

Performs the -= operation. Read more
Source§

impl<D: Deref<Target = [f32; 9]>> SubAssign<D> for FArray2<f32, 3, 9>

Source§

fn sub_assign(&mut self, other: D)

Performs the -= operation. Read more
Source§

impl<D: Deref<Target = [f32; 16]>> SubAssign<D> for FArray2<f32, 4, 16>

Source§

fn sub_assign(&mut self, other: D)

Performs the -= operation. Read more
Source§

impl<D: Deref<Target = [f64; 4]>> SubAssign<D> for FArray2<f64, 2, 4>

Source§

fn sub_assign(&mut self, other: D)

Performs the -= operation. Read more
Source§

impl<D: Deref<Target = [f64; 9]>> SubAssign<D> for FArray2<f64, 3, 9>

Source§

fn sub_assign(&mut self, other: D)

Performs the -= operation. Read more
Source§

impl<D: Deref<Target = [f64; 16]>> SubAssign<D> for FArray2<f64, 4, 16>

Source§

fn sub_assign(&mut self, other: D)

Performs the -= operation. Read more
Source§

impl<F> Transform<F> for FArray2<F, 4, 16>
where F: Float, QArray<F>: Quaternion<F>, FArray2<F, 4, 16>: SqMatrix4<F> + Mul<FArray<F, 4>, Output = FArray<F, 4>>, FArray<F, 3>: Vector3<F>, FArray<F, 4>: Vector4<F>,

Source§

const UNIFORM_SCALING: bool = false

Set to true if the transformation can only perform uniform scaling
Source§

type Vec3 = FArray<F, 3>

Type of vector comprehended as the translation/scaling for this transform
Source§

type Vec4 = FArray<F, 4>

Type of vector comprehended as the translation/scaling for this transform
Source§

type Quat = QArray<F>

Type of quaternion comprehended as the rotation for this transform
Source§

fn of_trs<A: AsRef<[F; 3]>>(t: A, r: Self::Quat, s: A) -> Option<Self>

Create a transformation that is a translation, rotation and scaling
Source§

fn of_trsu<A: AsRef<[F; 3]>>(t: A, r: Self::Quat, s: F) -> Self

Create a transformation that is a translation, rotation and uniform scaling
Source§

fn is_uniform_scale(&self) -> bool

Returns true if the scaling is uniform in each axis
Source§

fn scale(&self) -> Option<Self::Vec3>

Get the scale of the transform in each of the axes
Source§

fn uniform_scale(&self) -> Option<F>

Get the scale of the transform in each of the axes, if possible
Source§

fn translation(&self) -> Self::Vec3

Get a translation by a vector
Source§

fn rotation(&self) -> Option<Self::Quat>

Get the rotation of the transformation, if possible
Source§

fn set_identity(&mut self)

Set to an identity transformation
Source§

fn set_scale<A: AsRef<[F; 3]>>(&mut self, _scale: A) -> bool

Set the scale of the transformation Read more
Source§

fn set_uniform_scale(&mut self, scale: F)

Set the scale of the transformation
Source§

fn set_translation<A: AsRef<[F; 3]>>(&mut self, translation: A)

Set the translation of the transformation
Source§

fn set_rotation(&mut self, rotation: Self::Quat)

Set the rotation of a transformation
Source§

fn scale_uniform_by(&mut self, scale: F)

Pre-apply a uniform scaling
Source§

fn scale_by<A: AsRef<[F; 3]>>(&mut self, scale: A) -> bool

Pre-apply a nonuniform scaling Read more
Source§

fn translate_by<A: AsRef<[F; 3]>>(&mut self, translation: A, scale: F)

Pre-apply a scaled translation to the transformation
Source§

fn rotate_by(&mut self, quaternion: &Self::Quat)

Rotate the transformation by a quaternion
Source§

fn transform_by<T: Transform<F, Quat = Self::Quat>>( &mut self, transformer: &T, ) -> bool

Transform this transformation by another UNIFORM scale transformation; if is not uniform scaling then return false
Source§

fn inverse_transform(&self) -> Option<Self>

Get the inverse transformation Read more
Source§

fn apply3_arr(&self, other: &[F; 3]) -> [F; 3]

Apply the transformation to a [F; 4]
Source§

fn apply4_arr(&self, other: &[F; 4]) -> [F; 4]

Apply the transformation to a [F; 4]
Source§

fn as_mat3<M: SqMatrix3<F>>(&self) -> M

Convert the non-translation to a 3-by-3 matrix
Source§

fn as_mat4<M: SqMatrix4<F>>(&self) -> M

Convert it to a 4-by-4 matrix
Source§

fn set_inverse(&mut self) -> bool

Invert the transformation Read more
Source§

fn set_mat4<M: SqMatrix4<F>>(&self, mat4: &mut M)

Convert it to a 4-by-4 matrix and set it
Source§

fn set_mat3<M: SqMatrix3<F>>(&self, mat3: &mut M)

Convert it to a 4-by-4 matrix and set it
Source§

fn apply3<T>(&self, other: T) -> T
where T: Deref<Target = [F; 3]> + From<[F; 3]>,

Apply the quaternion to a vector or similar
Source§

fn apply4<T>(&self, other: T) -> T
where T: Deref<Target = [F; 4]> + From<[F; 4]>,

Apply the transformation to a vector or similar
Source§

impl<'a> TryFrom<&'a [f32]> for FArray2<f32, 2, 4>

Source§

type Error = TryFromSliceError

The type returned in the event of a conversion error.
Source§

fn try_from(data: &'a [f32]) -> Result<FArray2<f32, 2, 4>, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a [f32]> for FArray2<f32, 3, 9>

Source§

type Error = TryFromSliceError

The type returned in the event of a conversion error.
Source§

fn try_from(data: &'a [f32]) -> Result<FArray2<f32, 3, 9>, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a [f32]> for FArray2<f32, 4, 16>

Source§

type Error = TryFromSliceError

The type returned in the event of a conversion error.
Source§

fn try_from(data: &'a [f32]) -> Result<FArray2<f32, 4, 16>, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a [f64]> for FArray2<f64, 2, 4>

Source§

type Error = TryFromSliceError

The type returned in the event of a conversion error.
Source§

fn try_from(data: &'a [f64]) -> Result<FArray2<f64, 2, 4>, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a [f64]> for FArray2<f64, 3, 9>

Source§

type Error = TryFromSliceError

The type returned in the event of a conversion error.
Source§

fn try_from(data: &'a [f64]) -> Result<FArray2<f64, 3, 9>, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a [f64]> for FArray2<f64, 4, 16>

Source§

type Error = TryFromSliceError

The type returned in the event of a conversion error.
Source§

fn try_from(data: &'a [f64]) -> Result<FArray2<f64, 4, 16>, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<Vec<f32>> for FArray2<f32, 2, 4>

Source§

type Error = Vec<f32>

The type returned in the event of a conversion error.
Source§

fn try_from(data: Vec<f32>) -> Result<FArray2<f32, 2, 4>, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<Vec<f32>> for FArray2<f32, 3, 9>

Source§

type Error = Vec<f32>

The type returned in the event of a conversion error.
Source§

fn try_from(data: Vec<f32>) -> Result<FArray2<f32, 3, 9>, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<Vec<f32>> for FArray2<f32, 4, 16>

Source§

type Error = Vec<f32>

The type returned in the event of a conversion error.
Source§

fn try_from(data: Vec<f32>) -> Result<FArray2<f32, 4, 16>, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<Vec<f64>> for FArray2<f64, 2, 4>

Source§

type Error = Vec<f64>

The type returned in the event of a conversion error.
Source§

fn try_from(data: Vec<f64>) -> Result<FArray2<f64, 2, 4>, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<Vec<f64>> for FArray2<f64, 3, 9>

Source§

type Error = Vec<f64>

The type returned in the event of a conversion error.
Source§

fn try_from(data: Vec<f64>) -> Result<FArray2<f64, 3, 9>, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<Vec<f64>> for FArray2<f64, 4, 16>

Source§

type Error = Vec<f64>

The type returned in the event of a conversion error.
Source§

fn try_from(data: Vec<f64>) -> Result<FArray2<f64, 4, 16>, Self::Error>

Performs the conversion.

Auto Trait Implementations§

§

impl<F, const D: usize, const D2: usize> Freeze for FArray2<F, D, D2>
where F: Freeze,

§

impl<F, const D: usize, const D2: usize> RefUnwindSafe for FArray2<F, D, D2>
where F: RefUnwindSafe,

§

impl<F, const D: usize, const D2: usize> Send for FArray2<F, D, D2>
where F: Send,

§

impl<F, const D: usize, const D2: usize> Sync for FArray2<F, D, D2>
where F: Sync,

§

impl<F, const D: usize, const D2: usize> Unpin for FArray2<F, D, D2>
where F: Unpin,

§

impl<F, const D: usize, const D2: usize> UnsafeUnpin for FArray2<F, D, D2>
where F: UnsafeUnpin,

§

impl<F, const D: usize, const D2: usize> UnwindSafe for FArray2<F, D, D2>
where F: UnwindSafe,

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
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> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

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<F, const R: usize, const C: usize, const RC: usize, M> Matrix<F, R, C, RC> for M
where F: Float, M: ArrayBasic + ArrayRef<F, RC> + ArrayIndex<F> + ArrayConvert<F, RC> + ArrayAddSubNeg<F, RC> + ArrayScale<F>,

Source§

fn is_zero(&self) -> bool

Return true if the matrix is zero
Source§

fn set_zero(&mut self) -> &mut Self

Set the matrix to zero
Source§

fn transpose<M: Matrix<F, C, R, RC>>(&self) -> M

Return a transpose matrix
Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<F, M> SqMatrix2<F> for M
where F: Float, M: SqMatrix<F, 2, 4>,

Source§

impl<F, M> SqMatrix3<F> for M
where F: Float, M: SqMatrix<F, 3, 9>,

Source§

fn of_quaternion<Q: Quaternion<F>>(q: Q) -> Self

Create a 3-by-3 matrix of the rotation of a quaternion
Source§

impl<F, M> SqMatrix4<F> for M
where F: Float, M: SqMatrix<F, 4, 16>,

Source§

fn perspective(fov: F, aspect: F, near: F, far: F) -> Self

Generate a perspective matrix
Source§

fn look_at(eye: &[F; 3], center: &[F; 3], up: &[F; 3]) -> Self

Generate a matrix that represents a ‘look at a vector’
Source§

fn scale3(&mut self, by: F)

Scale the matrix for a transformation - only update top 3 rows
Source§

fn translate3(&mut self, by: &[F; 3])

Translate the matrix by a Vec3
Source§

fn translate4(&mut self, by: &[F; 4])

Translate the matrix by a Vec4
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§

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.