pub struct Point2<K> {
pub x: K,
pub y: K,
}Fields§
§x: K§y: KTrait Implementations§
Source§impl<K: FromPrimitive + ToPrimitive> FloatPointCompatible<f64> for Point2<K>
impl<K: FromPrimitive + ToPrimitive> FloatPointCompatible<f64> for Point2<K>
impl<K: Copy> Copy for Point2<K>
Auto Trait Implementations§
impl<K> Freeze for Point2<K>where
K: Freeze,
impl<K> RefUnwindSafe for Point2<K>where
K: RefUnwindSafe,
impl<K> Send for Point2<K>where
K: Send,
impl<K> Sync for Point2<K>where
K: Sync,
impl<K> Unpin for Point2<K>where
K: Unpin,
impl<K> UnsafeUnpin for Point2<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for Point2<K>where
K: 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