pub enum AbstractObjectKind {
AbstractGmlKind(AbstractGmlKind),
AbstractSurfacePatchKind(AbstractSurfacePatchKind),
Envelope(Envelope),
}Variants§
AbstractGmlKind(AbstractGmlKind)
AbstractSurfacePatchKind(AbstractSurfacePatchKind)
Envelope(Envelope)
Trait Implementations§
Source§impl Clone for AbstractObjectKind
impl Clone for AbstractObjectKind
Source§fn clone(&self) -> AbstractObjectKind
fn clone(&self) -> AbstractObjectKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AbstractObjectKind
impl Debug for AbstractObjectKind
Source§impl From<AbstractCurveKind> for AbstractObjectKind
impl From<AbstractCurveKind> for AbstractObjectKind
Source§fn from(x: AbstractCurveKind) -> Self
fn from(x: AbstractCurveKind) -> Self
Converts to this type from the input type.
Source§impl From<AbstractFeatureKind> for AbstractObjectKind
impl From<AbstractFeatureKind> for AbstractObjectKind
Source§fn from(x: AbstractFeatureKind) -> Self
fn from(x: AbstractFeatureKind) -> Self
Converts to this type from the input type.
Source§impl From<AbstractGeometricAggregateKind> for AbstractObjectKind
impl From<AbstractGeometricAggregateKind> for AbstractObjectKind
Source§fn from(x: AbstractGeometricAggregateKind) -> Self
fn from(x: AbstractGeometricAggregateKind) -> Self
Converts to this type from the input type.
Source§impl From<AbstractGeometricPrimitiveKind> for AbstractObjectKind
impl From<AbstractGeometricPrimitiveKind> for AbstractObjectKind
Source§fn from(x: AbstractGeometricPrimitiveKind) -> Self
fn from(x: AbstractGeometricPrimitiveKind) -> Self
Converts to this type from the input type.
Source§impl From<AbstractGeometryKind> for AbstractObjectKind
impl From<AbstractGeometryKind> for AbstractObjectKind
Source§fn from(x: AbstractGeometryKind) -> Self
fn from(x: AbstractGeometryKind) -> Self
Converts to this type from the input type.
Source§impl From<AbstractGmlKind> for AbstractObjectKind
impl From<AbstractGmlKind> for AbstractObjectKind
Source§fn from(x: AbstractGmlKind) -> Self
fn from(x: AbstractGmlKind) -> Self
Converts to this type from the input type.
Source§impl From<AbstractRingKind> for AbstractObjectKind
impl From<AbstractRingKind> for AbstractObjectKind
Source§fn from(x: AbstractRingKind) -> Self
fn from(x: AbstractRingKind) -> Self
Converts to this type from the input type.
Source§impl From<AbstractSolidKind> for AbstractObjectKind
impl From<AbstractSolidKind> for AbstractObjectKind
Source§fn from(x: AbstractSolidKind) -> Self
fn from(x: AbstractSolidKind) -> Self
Converts to this type from the input type.
Source§impl From<AbstractSurfaceKind> for AbstractObjectKind
impl From<AbstractSurfaceKind> for AbstractObjectKind
Source§fn from(x: AbstractSurfaceKind) -> Self
fn from(x: AbstractSurfaceKind) -> Self
Converts to this type from the input type.
Source§impl From<AbstractSurfacePatchKind> for AbstractObjectKind
impl From<AbstractSurfacePatchKind> for AbstractObjectKind
Source§fn from(x: AbstractSurfacePatchKind) -> Self
fn from(x: AbstractSurfacePatchKind) -> Self
Converts to this type from the input type.
Source§impl From<CompositeSurface> for AbstractObjectKind
impl From<CompositeSurface> for AbstractObjectKind
Source§fn from(x: CompositeSurface) -> Self
fn from(x: CompositeSurface) -> Self
Converts to this type from the input type.
Source§impl From<Envelope> for AbstractObjectKind
impl From<Envelope> for AbstractObjectKind
Source§impl From<LineString> for AbstractObjectKind
impl From<LineString> for AbstractObjectKind
Source§fn from(x: LineString) -> Self
fn from(x: LineString) -> Self
Converts to this type from the input type.
Source§impl From<LinearRing> for AbstractObjectKind
impl From<LinearRing> for AbstractObjectKind
Source§fn from(x: LinearRing) -> Self
fn from(x: LinearRing) -> Self
Converts to this type from the input type.
Source§impl From<MultiCurve> for AbstractObjectKind
impl From<MultiCurve> for AbstractObjectKind
Source§fn from(x: MultiCurve) -> Self
fn from(x: MultiCurve) -> Self
Converts to this type from the input type.
Source§impl From<MultiGeometry> for AbstractObjectKind
impl From<MultiGeometry> for AbstractObjectKind
Source§fn from(x: MultiGeometry) -> Self
fn from(x: MultiGeometry) -> Self
Converts to this type from the input type.
Source§impl From<MultiPoint> for AbstractObjectKind
impl From<MultiPoint> for AbstractObjectKind
Source§fn from(x: MultiPoint) -> Self
fn from(x: MultiPoint) -> Self
Converts to this type from the input type.
Source§impl From<MultiSurface> for AbstractObjectKind
impl From<MultiSurface> for AbstractObjectKind
Source§fn from(x: MultiSurface) -> Self
fn from(x: MultiSurface) -> Self
Converts to this type from the input type.
Source§impl From<Point> for AbstractObjectKind
impl From<Point> for AbstractObjectKind
Source§impl From<Polygon> for AbstractObjectKind
impl From<Polygon> for AbstractObjectKind
Source§impl From<PolygonPatch> for AbstractObjectKind
impl From<PolygonPatch> for AbstractObjectKind
Source§fn from(x: PolygonPatch) -> Self
fn from(x: PolygonPatch) -> Self
Converts to this type from the input type.
Source§impl From<Shell> for AbstractObjectKind
impl From<Shell> for AbstractObjectKind
Source§impl From<Solid> for AbstractObjectKind
impl From<Solid> for AbstractObjectKind
Source§impl From<Surface> for AbstractObjectKind
impl From<Surface> for AbstractObjectKind
Source§impl From<SurfaceKind> for AbstractObjectKind
impl From<SurfaceKind> for AbstractObjectKind
Source§fn from(x: SurfaceKind) -> Self
fn from(x: SurfaceKind) -> Self
Converts to this type from the input type.
Source§impl From<Triangle> for AbstractObjectKind
impl From<Triangle> for AbstractObjectKind
Source§impl From<TriangulatedSurface> for AbstractObjectKind
impl From<TriangulatedSurface> for AbstractObjectKind
Source§fn from(x: TriangulatedSurface) -> Self
fn from(x: TriangulatedSurface) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AbstractObjectKind
impl PartialEq for AbstractObjectKind
impl StructuralPartialEq for AbstractObjectKind
Source§impl TryFrom<AbstractObjectKind> for AbstractGmlKind
impl TryFrom<AbstractObjectKind> for AbstractGmlKind
Source§impl TryFrom<AbstractObjectKind> for Envelope
impl TryFrom<AbstractObjectKind> for Envelope
Source§impl TryFrom<AbstractObjectKind> for MultiCurve
impl TryFrom<AbstractObjectKind> for MultiCurve
Source§impl TryFrom<AbstractObjectKind> for MultiGeometry
impl TryFrom<AbstractObjectKind> for MultiGeometry
Source§impl TryFrom<AbstractObjectKind> for MultiPoint
impl TryFrom<AbstractObjectKind> for MultiPoint
Source§impl TryFrom<AbstractObjectKind> for MultiSurface
impl TryFrom<AbstractObjectKind> for MultiSurface
Source§impl TryFrom<AbstractObjectKind> for LineString
impl TryFrom<AbstractObjectKind> for LineString
Source§impl TryFrom<AbstractObjectKind> for AbstractRingKind
impl TryFrom<AbstractObjectKind> for AbstractRingKind
Source§impl TryFrom<AbstractObjectKind> for Point
impl TryFrom<AbstractObjectKind> for Point
Source§impl TryFrom<AbstractObjectKind> for LinearRing
impl TryFrom<AbstractObjectKind> for LinearRing
Source§impl TryFrom<AbstractObjectKind> for Solid
impl TryFrom<AbstractObjectKind> for Solid
Source§impl TryFrom<AbstractObjectKind> for CompositeSurface
impl TryFrom<AbstractObjectKind> for CompositeSurface
Source§impl TryFrom<AbstractObjectKind> for Polygon
impl TryFrom<AbstractObjectKind> for Polygon
Source§impl TryFrom<AbstractObjectKind> for Shell
impl TryFrom<AbstractObjectKind> for Shell
Source§impl TryFrom<AbstractObjectKind> for Surface
impl TryFrom<AbstractObjectKind> for Surface
Source§impl TryFrom<AbstractObjectKind> for SurfaceKind
impl TryFrom<AbstractObjectKind> for SurfaceKind
Source§impl TryFrom<AbstractObjectKind> for PolygonPatch
impl TryFrom<AbstractObjectKind> for PolygonPatch
Source§impl TryFrom<AbstractObjectKind> for Triangle
impl TryFrom<AbstractObjectKind> for Triangle
Auto Trait Implementations§
impl Freeze for AbstractObjectKind
impl RefUnwindSafe for AbstractObjectKind
impl Send for AbstractObjectKind
impl Sync for AbstractObjectKind
impl Unpin for AbstractObjectKind
impl UnsafeUnpin for AbstractObjectKind
impl UnwindSafe for AbstractObjectKind
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
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.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.