pub struct Vec2f32 {
pub x: f32,
pub y: f32,
}Expand description
Simple f32 Vector2.
Fields§
§x: f32X value.
y: f32Y value.
Implementations§
Trait Implementations§
Source§impl AddAssign<f32> for Vec2f32
impl AddAssign<f32> for Vec2f32
Source§fn add_assign(&mut self, rhs: f32)
fn add_assign(&mut self, rhs: f32)
Performs the
+= operation. Read moreSource§impl AddAssign for Vec2f32
impl AddAssign for Vec2f32
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl DivAssign<f32> for Vec2f32
impl DivAssign<f32> for Vec2f32
Source§fn div_assign(&mut self, rhs: f32)
fn div_assign(&mut self, rhs: f32)
Performs the
/= operation. Read moreSource§impl DivAssign for Vec2f32
impl DivAssign for Vec2f32
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/= operation. Read moreSource§impl RemAssign<f32> for Vec2f32
impl RemAssign<f32> for Vec2f32
Source§fn rem_assign(&mut self, rhs: f32)
fn rem_assign(&mut self, rhs: f32)
Performs the
%= operation. Read moreSource§impl RemAssign for Vec2f32
impl RemAssign for Vec2f32
Source§fn rem_assign(&mut self, rhs: Self)
fn rem_assign(&mut self, rhs: Self)
Performs the
%= operation. Read moreSource§impl SubAssign<f32> for Vec2f32
impl SubAssign<f32> for Vec2f32
Source§fn sub_assign(&mut self, rhs: f32)
fn sub_assign(&mut self, rhs: f32)
Performs the
-= operation. Read moreSource§impl SubAssign for Vec2f32
impl SubAssign for Vec2f32
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for Vec2f32
impl StructuralPartialEq for Vec2f32
Auto Trait Implementations§
impl Freeze for Vec2f32
impl RefUnwindSafe for Vec2f32
impl Send for Vec2f32
impl Sync for Vec2f32
impl Unpin for Vec2f32
impl UnwindSafe for Vec2f32
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