pub struct Vector3f {
pub x: Float,
pub y: Float,
pub z: Float,
}
Fields§
§x: Float
§y: Float
§z: Float
Implementations§
Trait Implementations§
Source§impl AddAssign<Vector3f> for Point3f
impl AddAssign<Vector3f> for Point3f
Source§fn add_assign(&mut self, rhs: Vector3f)
fn add_assign(&mut self, rhs: Vector3f)
Performs the
+=
operation. Read moreSource§impl AddAssign for Vector3f
impl AddAssign for Vector3f
Source§fn add_assign(&mut self, rhs: Vector3f)
fn add_assign(&mut self, rhs: Vector3f)
Performs the
+=
operation. Read moreSource§impl DivAssign<f32> for Vector3f
impl DivAssign<f32> for Vector3f
Source§fn div_assign(&mut self, rhs: Float)
fn div_assign(&mut self, rhs: Float)
Performs the
/=
operation. Read moreSource§impl MulAssign<f32> for Vector3f
impl MulAssign<f32> for Vector3f
Source§fn mul_assign(&mut self, rhs: Float)
fn mul_assign(&mut self, rhs: Float)
Performs the
*=
operation. Read moreimpl Copy for Vector3f
impl StructuralPartialEq for Vector3f
Auto Trait Implementations§
impl Freeze for Vector3f
impl RefUnwindSafe for Vector3f
impl Send for Vector3f
impl Sync for Vector3f
impl Unpin for Vector3f
impl UnwindSafe for Vector3f
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.