pub struct Point2<T>{
pub pos: Vec2<T>,
pub vel: Vec2<T>,
}Fields§
§pos: Vec2<T>§vel: Vec2<T>Trait Implementations§
impl<T> StructuralPartialEq for Point2<T>
Auto Trait Implementations§
impl<T> Freeze for Point2<T>where
T: Freeze,
impl<T> RefUnwindSafe for Point2<T>where
T: RefUnwindSafe,
impl<T> Send for Point2<T>where
T: Send,
impl<T> Sync for Point2<T>where
T: Sync,
impl<T> Unpin for Point2<T>where
T: Unpin,
impl<T> UnwindSafe for Point2<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