pub struct PointGeometryType;Expand description
Point geometry marker.
Trait Implementations§
Source§impl Clone for PointGeometryType
impl Clone for PointGeometryType
Source§fn clone(&self) -> PointGeometryType
fn clone(&self) -> PointGeometryType
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 PointGeometryType
impl Debug for PointGeometryType
Source§impl Default for PointGeometryType
impl Default for PointGeometryType
Source§fn default() -> PointGeometryType
fn default() -> PointGeometryType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PointGeometryType
impl<'de> Deserialize<'de> for PointGeometryType
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 Hash for PointGeometryType
impl Hash for PointGeometryType
Source§impl Ord for PointGeometryType
impl Ord for PointGeometryType
Source§fn cmp(&self, other: &PointGeometryType) -> Ordering
fn cmp(&self, other: &PointGeometryType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PointGeometryType
impl PartialEq for PointGeometryType
Source§impl PartialOrd for PointGeometryType
impl PartialOrd for PointGeometryType
Source§impl Serialize for PointGeometryType
impl Serialize for PointGeometryType
impl Copy for PointGeometryType
impl Eq for PointGeometryType
impl StructuralPartialEq for PointGeometryType
Auto Trait Implementations§
impl Freeze for PointGeometryType
impl RefUnwindSafe for PointGeometryType
impl Send for PointGeometryType
impl Sync for PointGeometryType
impl Unpin for PointGeometryType
impl UnwindSafe for PointGeometryType
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
Source§impl<P> CartesianGeometry2dSpecialization<P, PointGeometryType> for Pwhere
P: GeometryType<Type = PointGeometryType, Space = CartesianSpace2d> + CartesianPoint2d + Copy,
impl<P> CartesianGeometry2dSpecialization<P, PointGeometryType> for Pwhere
P: GeometryType<Type = PointGeometryType, Space = CartesianSpace2d> + CartesianPoint2d + Copy,
Source§fn is_point_inside_spec<Other>(
&self,
point: &Other,
tolerance: <P as CartesianPoint2d>::Num,
) -> bool
fn is_point_inside_spec<Other>( &self, point: &Other, tolerance: <P as CartesianPoint2d>::Num, ) -> bool
Source§fn bounding_rectangle_spec(&self) -> Option<Rect<<P as CartesianPoint2d>::Num>>
fn bounding_rectangle_spec(&self) -> Option<Rect<<P as CartesianPoint2d>::Num>>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CoordinateMetadata for Twhere
T: ?Sized,
impl<T> CoordinateMetadata for Twhere
T: ?Sized,
Source§impl<P> GeometrySpecialization<PointGeometryType, CartesianSpace2d> for P
impl<P> GeometrySpecialization<PointGeometryType, CartesianSpace2d> for P
Source§fn project_spec<Proj>(
&self,
projection: &Proj,
) -> Option<Geom<<Proj as Projection>::OutPoint>>where
Proj: Projection<InPoint = <P as GeometrySpecialization<PointGeometryType, CartesianSpace2d>>::Point> + ?Sized,
fn project_spec<Proj>(
&self,
projection: &Proj,
) -> Option<Geom<<Proj as Projection>::OutPoint>>where
Proj: Projection<InPoint = <P as GeometrySpecialization<PointGeometryType, CartesianSpace2d>>::Point> + ?Sized,
See
Geometry::project.Source§impl<P> GeometrySpecialization<PointGeometryType, GeoSpace2d> for P
impl<P> GeometrySpecialization<PointGeometryType, GeoSpace2d> for P
Source§fn project_spec<Proj>(
&self,
projection: &Proj,
) -> Option<Geom<<Proj as Projection>::OutPoint>>where
Proj: Projection<InPoint = <P as GeometrySpecialization<PointGeometryType, GeoSpace2d>>::Point> + ?Sized,
fn project_spec<Proj>(
&self,
projection: &Proj,
) -> Option<Geom<<Proj as Projection>::OutPoint>>where
Proj: Projection<InPoint = <P as GeometrySpecialization<PointGeometryType, GeoSpace2d>>::Point> + ?Sized,
See
Geometry::project.Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.