Struct simple_vectors::Vector [−][src]
pub struct Vector<T, const N: usize>(_);
Implementations
Trait Implementations
Performs the +=
operation. Read more
Creates an unit basis of the vector space.
Creates a scaled basis of the vector space of the specified magnitude.
Queries a basis of a vector space as a mutable reference.
Creates a new vector with a single basis set to a different value.
Performs the /=
operation. Read more
The squared magnitude. Read more
Sets the magnitude of a vector.
Sets the direction of a vector.
The value of the vector along the specified axis.
Projects a vector onto an already normalized direction vector.
Rejects a vector from an already normalized direction vector.
Reflects a vector from an already normalized direction vector.
Performs the *=
operation. Read more
Performs the -=
operation. Read more
type Scalar = T
type Scalar = T
The scalar type of the vector space.
Auto Trait Implementations
impl<T, const N: usize> RefUnwindSafe for Vector<T, N> where
T: RefUnwindSafe,
impl<T, const N: usize> UnwindSafe for Vector<T, N> where
T: UnwindSafe,
Blanket Implementations
Creates the specified unit basis of the vector space.
Creates the specified basis of the vector of the specified magnitude.
Queries the specified basis of a vector space.
Queries the specified basis of a vector space as a mutable reference.
Creates a new vector with the specified basis set to a different value.
Mutably borrows from an owned value. Read more