pub struct Point {
pub x: f64,
pub y: f64,
}
Expand description
Point with only x
and y
coordinates
Fields§
§x: f64
§y: f64
Implementations§
Trait Implementations§
source§impl ConcreteReadableShape for Point
impl ConcreteReadableShape for Point
source§impl From<Coord> for Point
impl From<Coord> for Point
source§fn from(c: Coordinate<f64>) -> Self
fn from(c: Coordinate<f64>) -> Self
Converts to this type from the input type.
source§impl PartialEq for Point
impl PartialEq for Point
source§impl WritableShape for Point
impl WritableShape for Point
impl ConcreteShape for Point
impl Copy for Point
impl StructuralPartialEq for Point
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnwindSafe for Point
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