pub struct MultiContour<P>(/* private fields */);Expand description
A set of contours.
Trait Implementations§
Source§impl<P: Clone> Clone for MultiContour<P>
impl<P: Clone> Clone for MultiContour<P>
Source§fn clone(&self) -> MultiContour<P>
fn clone(&self) -> MultiContour<P>
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<P: Debug> Debug for MultiContour<P>
impl<P: Debug> Debug for MultiContour<P>
Source§impl<P: Default> Default for MultiContour<P>
impl<P: Default> Default for MultiContour<P>
Source§fn default() -> MultiContour<P>
fn default() -> MultiContour<P>
Returns the “default value” for a type. Read more
Source§impl<'de, P> Deserialize<'de> for MultiContour<P>where
P: Deserialize<'de>,
impl<'de, P> Deserialize<'de> for MultiContour<P>where
P: Deserialize<'de>,
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<P: GeometryType> GeometryType for MultiContour<P>
impl<P: GeometryType> GeometryType for MultiContour<P>
Source§impl<P: Hash> Hash for MultiContour<P>
impl<P: Hash> Hash for MultiContour<P>
Source§impl<P: Copy> MultiContour for MultiContour<P>
impl<P: Copy> MultiContour for MultiContour<P>
Source§impl<P: Ord> Ord for MultiContour<P>
impl<P: Ord> Ord for MultiContour<P>
Source§fn cmp(&self, other: &MultiContour<P>) -> Ordering
fn cmp(&self, other: &MultiContour<P>) -> 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<P: PartialEq> PartialEq for MultiContour<P>
impl<P: PartialEq> PartialEq for MultiContour<P>
Source§impl<P: PartialOrd> PartialOrd for MultiContour<P>
impl<P: PartialOrd> PartialOrd for MultiContour<P>
Source§impl<P> Serialize for MultiContour<P>where
P: Serialize,
impl<P> Serialize for MultiContour<P>where
P: Serialize,
impl<P: Eq> Eq for MultiContour<P>
impl<P> StructuralPartialEq for MultiContour<P>
Auto Trait Implementations§
impl<P> Freeze for MultiContour<P>
impl<P> RefUnwindSafe for MultiContour<P>where
P: RefUnwindSafe,
impl<P> Send for MultiContour<P>where
P: Send,
impl<P> Sync for MultiContour<P>where
P: Sync,
impl<P> Unpin for MultiContour<P>where
P: Unpin,
impl<P> UnwindSafe for MultiContour<P>where
P: UnwindSafe,
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<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<T> Disambiguate for Twhere
T: GeometryType<Space = AmbiguousSpace>,
impl<T> Disambiguate for Twhere
T: GeometryType<Space = AmbiguousSpace>,
Source§fn to_geo2d(self) -> Disambig<Self, GeoSpace2d>where
Self: Sized,
fn to_geo2d(self) -> Disambig<Self, GeoSpace2d>where
Self: Sized,
Specifies that the geometry is in geographic coordinates.
Source§fn to_cartesian2d(self) -> Disambig<Self, CartesianSpace2d>where
Self: Sized,
fn to_cartesian2d(self) -> Disambig<Self, CartesianSpace2d>where
Self: Sized,
Specifies that the geometry is in cartesian coordinates.
Source§impl<C, Space> GeometrySpecialization<MultiContourGeometryType, Space> for Cwhere
C: MultiContour + GeometryType<Type = MultiContourGeometryType, Space = Space>,
<C as MultiContour>::Contour: Geometry,
impl<C, Space> GeometrySpecialization<MultiContourGeometryType, Space> for Cwhere
C: MultiContour + GeometryType<Type = MultiContourGeometryType, Space = Space>,
<C as MultiContour>::Contour: Geometry,
Source§type Point = <<C as MultiContour>::Contour as Geometry>::Point
type Point = <<C as MultiContour>::Contour as Geometry>::Point
Type of the point of the geometry.
Source§fn project_spec<Proj>(
&self,
projection: &Proj,
) -> Option<Geom<<Proj as Projection>::OutPoint>>where
Proj: Projection<InPoint = <C as GeometrySpecialization<MultiContourGeometryType, Space>>::Point> + ?Sized,
fn project_spec<Proj>(
&self,
projection: &Proj,
) -> Option<Geom<<Proj as Projection>::OutPoint>>where
Proj: Projection<InPoint = <C as GeometrySpecialization<MultiContourGeometryType, Space>>::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.