[−][src]Struct hektor::Vec3
Three-dimensional vector: x
, y
, and z
.
Internally, this is a Vec4
. The speed gains outweigh the extra memory
used.
Methods
impl Vec3
[src]
Trait Implementations
impl CanAbs for Vec3
[src]
impl Debug for Vec3
[src]
impl Copy for Vec3
[src]
impl From<[f32; 3]> for Vec3
[src]
impl Clone for Vec3
[src]
fn clone(&self) -> Vec3
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Vec3
[src]
impl Pod for Vec3
[src]
impl Zeroable for Vec3
[src]
Auto Trait Implementations
Blanket Implementations
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.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,