pub struct Point {
pub x: f64,
pub y: f64,
pub z: f64,
}
Expand description
A point in 3D space
Coordinates are given in metres.
Fields§
§x: f64
§y: f64
§z: f64
Implementations§
Trait Implementations§
source§impl PartialEq<Point> for Point
impl PartialEq<Point> for Point
impl Copy for Point
impl StructuralPartialEq for Point
Auto Trait Implementations§
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