pub struct PointOrPoint3D(pub f64, pub f64, pub Option<f64>);
Expand description
Define a Point or Point3D
Tuple Fields§
§0: f64
§1: f64
§2: Option<f64>
Trait Implementations§
Source§impl Clone for PointOrPoint3D
impl Clone for PointOrPoint3D
Source§fn clone(&self) -> PointOrPoint3D
fn clone(&self) -> PointOrPoint3D
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PointOrPoint3D
impl Debug for PointOrPoint3D
Source§impl Default for PointOrPoint3D
impl Default for PointOrPoint3D
Source§fn default() -> PointOrPoint3D
fn default() -> PointOrPoint3D
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PointOrPoint3D
impl<'de> Deserialize<'de> for PointOrPoint3D
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<Point> for PointOrPoint3D
impl From<Point> for PointOrPoint3D
Source§impl From<Point3D> for PointOrPoint3D
impl From<Point3D> for PointOrPoint3D
Source§impl GetXY for PointOrPoint3D
impl GetXY for PointOrPoint3D
Source§impl PartialEq for PointOrPoint3D
impl PartialEq for PointOrPoint3D
Source§impl Serialize for PointOrPoint3D
impl Serialize for PointOrPoint3D
impl Copy for PointOrPoint3D
impl GetXYZ for PointOrPoint3D
impl StructuralPartialEq for PointOrPoint3D
Auto Trait Implementations§
impl Freeze for PointOrPoint3D
impl RefUnwindSafe for PointOrPoint3D
impl Send for PointOrPoint3D
impl Sync for PointOrPoint3D
impl Unpin for PointOrPoint3D
impl UnwindSafe for PointOrPoint3D
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