pub struct Vec2 { /* private fields */ }Expand description
Two-dimensional floating-point vector for texture coordinates and 2D screen offsets.
Implementations§
Source§impl Vec2
Arithmetic and interpolation helpers for Vec2.
impl Vec2
Arithmetic and interpolation helpers for Vec2.
Trait Implementations§
impl Copy for Vec2
impl StructuralPartialEq for Vec2
Auto Trait Implementations§
impl Forget for Vec2
impl Freeze for Vec2
impl Move for Vec2
impl RefUnwindSafe for Vec2
impl Send for Vec2
impl Sync for Vec2
impl Unpin for Vec2
impl UnsafeUnpin for Vec2
impl UnwindSafe for Vec2
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