pub struct Point3D(pub f64, pub f64, pub f64);Expand description
Definition of a 3D Point. May represent WebMercator Lon-Lat or S2Geometry S-T with a z-value
Tuple Fields§
§0: f64§1: f64§2: f64Trait Implementations§
Source§impl<'de> Deserialize<'de> for Point3D
impl<'de> Deserialize<'de> for Point3D
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Point3D> for PointOrPoint3D
impl From<Point3D> for PointOrPoint3D
Source§impl Interpolate for Point3D
impl Interpolate for Point3D
Source§fn interpolate(&self, other: &Self, t: f64) -> Self
fn interpolate(&self, other: &Self, t: f64) -> Self
Interpolate between two of the same type
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 UnwindSafe for Point3D
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)