pub enum ShapeQueryRelation {
Subsumes,
SubshapeOf,
Overlaps,
}Expand description
Direction used when matching a candidate Shape against a requested Shape.
Variants§
Subsumes
The candidate accepts every value accepted by the requested Shape.
SubshapeOf
The candidate is contained by the requested Shape.
Overlaps
The candidate and requested Shapes have at least one known value in common.
Trait Implementations§
Source§impl Clone for ShapeQueryRelation
impl Clone for ShapeQueryRelation
Source§fn clone(&self) -> ShapeQueryRelation
fn clone(&self) -> ShapeQueryRelation
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 ShapeQueryRelation
Source§impl Debug for ShapeQueryRelation
impl Debug for ShapeQueryRelation
impl Eq for ShapeQueryRelation
Source§impl PartialEq for ShapeQueryRelation
impl PartialEq for ShapeQueryRelation
impl StructuralPartialEq for ShapeQueryRelation
Auto Trait Implementations§
impl Freeze for ShapeQueryRelation
impl RefUnwindSafe for ShapeQueryRelation
impl Send for ShapeQueryRelation
impl Sync for ShapeQueryRelation
impl Unpin for ShapeQueryRelation
impl UnsafeUnpin for ShapeQueryRelation
impl UnwindSafe for ShapeQueryRelation
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