Struct math_functions::algebra::matrix::Vec3
source · pub struct Vec3<T> {
pub x: T,
pub y: T,
pub z: T,
}Expand description
3D Vector
Fields§
§x: Tx component
y: Ty component
z: Tz component
Trait Implementations§
source§impl<T: PartialEq> PartialEq<Vec3<T>> for Vec3<T>
impl<T: PartialEq> PartialEq<Vec3<T>> for Vec3<T>
impl<T> StructuralPartialEq for Vec3<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Vec3<T>where T: RefUnwindSafe,
impl<T> Send for Vec3<T>where T: Send,
impl<T> Sync for Vec3<T>where T: Sync,
impl<T> Unpin for Vec3<T>where T: Unpin,
impl<T> UnwindSafe for Vec3<T>where T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more