pub struct Point2<W = Generic> {
pub x: f64,
pub y: f64,
/* private fields */
}
Fields§
§x: f64
§y: f64
Implementations§
Trait Implementations§
Source§impl<W: Space> Interpolatable for Point2<W>
impl<W: Space> Interpolatable for Point2<W>
fn interpolate(&self, _other: &Self, _t: f64) -> Self
impl<W: Space> Copy for Point2<W>
Auto Trait Implementations§
impl<W> Freeze for Point2<W>
impl<W> RefUnwindSafe for Point2<W>where
W: RefUnwindSafe,
impl<W> Send for Point2<W>where
W: Send,
impl<W> Sync for Point2<W>where
W: Sync,
impl<W> Unpin for Point2<W>where
W: Unpin,
impl<W> UnwindSafe for Point2<W>where
W: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.