pub struct Point3D {
pub x: i32,
pub y: i32,
pub z: i32,
}Expand description
Representation of a point in three dimensions
Fields§
§x: i32§y: i32§z: i32Trait Implementations§
Source§impl Ord for Point3D
impl Ord for Point3D
Source§impl PartialOrd for Point3D
impl PartialOrd for Point3D
impl Copy for Point3D
impl Eq for Point3D
impl StructuralPartialEq for Point3D
Auto Trait Implementations§
impl Freeze for Point3D
impl RefUnwindSafe for Point3D
impl Send for Point3D
impl Sync for Point3D
impl Unpin for Point3D
impl UnsafeUnpin for Point3D
impl UnwindSafe for Point3D
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