pub struct PointZ {
pub x: f64,
pub y: f64,
pub z: f64,
pub m: f64,
}Expand description
Point with x, y, m, z
Fields§
§x: f64§y: f64§z: f64§m: f64Implementations§
Trait Implementations§
Source§impl ConcreteReadableShape for PointZ
impl ConcreteReadableShape for PointZ
Source§impl CoordTrait for &PointZ
impl CoordTrait for &PointZ
Source§fn dim(&self) -> Dimensions
fn dim(&self) -> Dimensions
Dimensions of the coordinate tuple
Source§fn nth_or_panic(&self, n: usize) -> Self::T
fn nth_or_panic(&self, n: usize) -> Self::T
Access the n’th (0-based) element of the CoordinateTuple.
May panic if n >= DIMENSION.
See also
nth().Source§impl CoordTrait for PointZ
impl CoordTrait for PointZ
Source§fn dim(&self) -> Dimensions
fn dim(&self) -> Dimensions
Dimensions of the coordinate tuple
Source§fn nth_or_panic(&self, n: usize) -> Self::T
fn nth_or_panic(&self, n: usize) -> Self::T
Access the n’th (0-based) element of the CoordinateTuple.
May panic if n >= DIMENSION.
See also
nth().Source§impl From<Coord> for PointZ
Available on crate feature geo-types only.
impl From<Coord> for PointZ
Available on crate feature
geo-types only.Source§fn from(c: Coordinate<f64>) -> Self
fn from(c: Coordinate<f64>) -> Self
Converts to this type from the input type.
Source§impl PointTrait for &PointZ
impl PointTrait for &PointZ
Source§type CoordType<'a> = &'a PointZ
where
Self: 'a
type CoordType<'a> = &'a PointZ where Self: 'a
The type of the underlying coordinate, which implements CoordTrait
Source§fn dim(&self) -> Dimensions
fn dim(&self) -> Dimensions
Dimensions of the coordinate tuple
Source§impl PointTrait for PointZ
impl PointTrait for PointZ
Source§type CoordType<'a> = &'a PointZ
where
Self: 'a
type CoordType<'a> = &'a PointZ where Self: 'a
The type of the underlying coordinate, which implements CoordTrait
Source§fn dim(&self) -> Dimensions
fn dim(&self) -> Dimensions
Dimensions of the coordinate tuple
Source§impl WritableShape for PointZ
impl WritableShape for PointZ
impl ConcreteShape for PointZ
impl Copy for PointZ
impl StructuralPartialEq for PointZ
Auto Trait Implementations§
impl Freeze for PointZ
impl RefUnwindSafe for PointZ
impl Send for PointZ
impl Sync for PointZ
impl Unpin for PointZ
impl UnwindSafe for PointZ
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