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