pub struct Vec2<U: Unit, T> {
pub x: T,
pub y: T,
/* private fields */
}Fields§
§x: T§y: TImplementations§
Trait Implementations§
impl<U: Copy + Unit, T: Copy> Copy for Vec2<U, T>
impl<U: Eq + Unit, T: Eq> Eq for Vec2<U, T>
impl<U: Unit, T> StructuralPartialEq for Vec2<U, T>
Auto Trait Implementations§
impl<U, T> Freeze for Vec2<U, T>where
T: Freeze,
impl<U, T> RefUnwindSafe for Vec2<U, T>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<U, T> Send for Vec2<U, T>
impl<U, T> Sync for Vec2<U, T>
impl<U, T> Unpin for Vec2<U, T>
impl<U, T> UnwindSafe for Vec2<U, T>where
T: UnwindSafe,
U: 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