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