pub struct Vector2f {
pub x: Float,
pub y: Float,
}
Fields§
§x: Float
§y: Float
Implementations§
Trait Implementations§
source§impl MulAssign<f32> for Vector2f
impl MulAssign<f32> for Vector2f
source§fn mul_assign(&mut self, rhs: Float)
fn mul_assign(&mut self, rhs: Float)
Performs the
*=
operation. Read moreimpl Copy for Vector2f
Auto Trait Implementations§
impl RefUnwindSafe for Vector2f
impl Send for Vector2f
impl Sync for Vector2f
impl Unpin for Vector2f
impl UnwindSafe for Vector2f
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> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
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()
.