pub struct MultiContourGeometryType;Expand description
MultiContour geometry marker.
Trait Implementations§
Source§impl Clone for MultiContourGeometryType
impl Clone for MultiContourGeometryType
Source§fn clone(&self) -> MultiContourGeometryType
fn clone(&self) -> MultiContourGeometryType
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 MultiContourGeometryType
impl Debug for MultiContourGeometryType
Source§impl Default for MultiContourGeometryType
impl Default for MultiContourGeometryType
Source§fn default() -> MultiContourGeometryType
fn default() -> MultiContourGeometryType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MultiContourGeometryType
impl<'de> Deserialize<'de> for MultiContourGeometryType
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 MultiContourGeometryType
impl Hash for MultiContourGeometryType
Source§impl Ord for MultiContourGeometryType
impl Ord for MultiContourGeometryType
Source§fn cmp(&self, other: &MultiContourGeometryType) -> Ordering
fn cmp(&self, other: &MultiContourGeometryType) -> 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 MultiContourGeometryType
impl PartialEq for MultiContourGeometryType
Source§impl PartialOrd for MultiContourGeometryType
impl PartialOrd for MultiContourGeometryType
Source§impl Serialize for MultiContourGeometryType
impl Serialize for MultiContourGeometryType
impl Copy for MultiContourGeometryType
impl Eq for MultiContourGeometryType
impl StructuralPartialEq for MultiContourGeometryType
Auto Trait Implementations§
impl Freeze for MultiContourGeometryType
impl RefUnwindSafe for MultiContourGeometryType
impl Send for MultiContourGeometryType
impl Sync for MultiContourGeometryType
impl Unpin for MultiContourGeometryType
impl UnwindSafe for MultiContourGeometryType
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, C> CartesianGeometry2dSpecialization<P, MultiContourGeometryType> for Cwhere
C: MultiContour + GeometryType<Type = MultiContourGeometryType, Space = CartesianSpace2d> + Geometry<Point = P>,
P: CartesianPoint2d + Copy,
<C as MultiContour>::Contour: Contour<Point = P> + CartesianGeometry2d<P>,
impl<P, C> CartesianGeometry2dSpecialization<P, MultiContourGeometryType> for Cwhere
C: MultiContour + GeometryType<Type = MultiContourGeometryType, Space = CartesianSpace2d> + Geometry<Point = P>,
P: CartesianPoint2d + Copy,
<C as MultiContour>::Contour: Contour<Point = P> + CartesianGeometry2d<P>,
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<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.