pub struct ShapeWitness {
pub label: String,
pub accepted_left: bool,
pub accepted_right: bool,
pub note: String,
}Expand description
Result of checking one probe against both compared shapes.
Fields§
§label: StringStable label supplied by the caller.
accepted_left: boolWhether the left shape accepted the probe.
accepted_right: boolWhether the right shape accepted the probe.
note: StringShort explanation such as accepted by both.
Trait Implementations§
Source§impl Clone for ShapeWitness
impl Clone for ShapeWitness
Source§impl Debug for ShapeWitness
impl Debug for ShapeWitness
impl Eq for ShapeWitness
Source§impl PartialEq for ShapeWitness
impl PartialEq for ShapeWitness
impl StructuralPartialEq for ShapeWitness
Auto Trait Implementations§
impl Freeze for ShapeWitness
impl RefUnwindSafe for ShapeWitness
impl Send for ShapeWitness
impl Sync for ShapeWitness
impl Unpin for ShapeWitness
impl UnsafeUnpin for ShapeWitness
impl UnwindSafe for ShapeWitness
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