pub struct Point2 {
pub x: f64,
pub y: f64,
}
Fields§
§x: f64
§y: f64
Implementations§
Trait Implementations§
Source§impl From<ManifoldVec2> for Point2
impl From<ManifoldVec2> for Point2
Source§fn from(value: ManifoldVec2) -> Self
fn from(value: ManifoldVec2) -> Self
Converts to this type from the input type.
Source§impl From<Point2> for ManifoldVec2
impl From<Point2> for ManifoldVec2
impl Copy for Point2
impl StructuralPartialEq for Point2
Auto Trait Implementations§
impl Freeze for Point2
impl RefUnwindSafe for Point2
impl Send for Point2
impl Sync for Point2
impl Unpin for Point2
impl UnwindSafe for Point2
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