pub enum ShapeRelationKind {
Equal,
LeftSubshape,
RightSubshape,
Overlap,
Disjoint,
Unknown,
}Expand description
Relation categories reported by ShapeRelation.
Variants§
Equal
Both shapes imply each other.
LeftSubshape
The left shape is known to be a subshape of the right shape.
RightSubshape
The right shape is known to be a subshape of the left shape.
Overlap
At least one probe is accepted by both shapes.
Disjoint
The shapes are conservatively known to have no common values.
Unknown
The runtime could not prove a stronger relation.
Trait Implementations§
Source§impl Clone for ShapeRelationKind
impl Clone for ShapeRelationKind
Source§fn clone(&self) -> ShapeRelationKind
fn clone(&self) -> ShapeRelationKind
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 moreimpl Copy for ShapeRelationKind
Source§impl Debug for ShapeRelationKind
impl Debug for ShapeRelationKind
impl Eq for ShapeRelationKind
Source§impl PartialEq for ShapeRelationKind
impl PartialEq for ShapeRelationKind
Source§fn eq(&self, other: &ShapeRelationKind) -> bool
fn eq(&self, other: &ShapeRelationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShapeRelationKind
Auto Trait Implementations§
impl Freeze for ShapeRelationKind
impl RefUnwindSafe for ShapeRelationKind
impl Send for ShapeRelationKind
impl Sync for ShapeRelationKind
impl Unpin for ShapeRelationKind
impl UnsafeUnpin for ShapeRelationKind
impl UnwindSafe for ShapeRelationKind
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