Struct pax_runtime_api::math::Point2
source · 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> PartialEq for Point2<W>
impl<W: Space> PartialEq for Point2<W>
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, 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.