pub struct CartesianSpace2d;Expand description
2d cartesian coordinate space marker.
Trait Implementations§
Source§impl Clone for CartesianSpace2d
impl Clone for CartesianSpace2d
Source§fn clone(&self) -> CartesianSpace2d
fn clone(&self) -> CartesianSpace2d
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 CartesianSpace2d
impl Debug for CartesianSpace2d
Source§impl Default for CartesianSpace2d
impl Default for CartesianSpace2d
Source§fn default() -> CartesianSpace2d
fn default() -> CartesianSpace2d
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CartesianSpace2d
impl<'de> Deserialize<'de> for CartesianSpace2d
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 CartesianSpace2d
impl Hash for CartesianSpace2d
Source§impl Ord for CartesianSpace2d
impl Ord for CartesianSpace2d
Source§fn cmp(&self, other: &CartesianSpace2d) -> Ordering
fn cmp(&self, other: &CartesianSpace2d) -> 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 CartesianSpace2d
impl PartialEq for CartesianSpace2d
Source§impl PartialOrd for CartesianSpace2d
impl PartialOrd for CartesianSpace2d
Source§impl Serialize for CartesianSpace2d
impl Serialize for CartesianSpace2d
impl Copy for CartesianSpace2d
impl Eq for CartesianSpace2d
impl StructuralPartialEq for CartesianSpace2d
Auto Trait Implementations§
impl Freeze for CartesianSpace2d
impl RefUnwindSafe for CartesianSpace2d
impl Send for CartesianSpace2d
impl Sync for CartesianSpace2d
impl Unpin for CartesianSpace2d
impl UnwindSafe for CartesianSpace2d
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<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<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.