pub struct Point3D {
pub x: i32,
pub y: i32,
pub z: i32,
pub m: Option<MValue>,
}Expand description
Open Vector Spec can be an x,y,z but also may contain an MValue if the geometry is a line or polygon
Fields§
§x: i32x value
y: i32y value
z: i32z value
m: Option<MValue>M value
Implementations§
Trait Implementations§
Source§impl<D: MValueCompatible> From<&VectorPoint<D>> for Point3D
impl<D: MValueCompatible> From<&VectorPoint<D>> for Point3D
Source§fn from(vp: &VectorPoint<D>) -> Self
fn from(vp: &VectorPoint<D>) -> Self
Converts to this type from the input type.
Source§impl Ord for Point3D
impl Ord for Point3D
Source§impl PartialOrd for Point3D
impl PartialOrd 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 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