Enum parry2d_f64::shape::FeatureId [−][src]
Expand description
An identifier of a feature of a convex polyhedron.
This identifier is shape-dependent and is such that it allows an efficient retrieval of the geometric information of the feature.
Variants
Vertex(u32)
Tuple Fields
0: u32
Shape-dependent identifier of a vertex.
Face(u32)
Tuple Fields
0: u32
Shape-dependent identifier of a face.
Unknown
Unknown identifier.
Implementations
Revries the value of the identifier if self
is a vertex.
Retrieves the value of the identifier if self
is a face.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FeatureId
impl UnwindSafe for FeatureId
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
Performs the conversion.
Performs the conversion.
Casts the value.
OverflowingCasts the value.
Casts the value.
Casts the value.
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
Checks if self
is actually part of its subset T
(and can be converted to it).
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
The inclusion map: converts self
to the equivalent element of its superset.
Casts the value.
UnwrappedCasts the value.
Casts the value.
WrappingCasts the value.