pub struct ShapeNormalForm {
pub kind: ShapeNormalKind,
pub label: String,
}Expand description
Structural summary used by conservative shape comparison.
Normal forms expose enough algebraic structure for relation checks without
adding a closed kind enum to the kernel Shape trait.
Fields§
§kind: ShapeNormalKindNormalized structural kind.
label: StringHuman-readable label from the source shape description.
Trait Implementations§
Source§impl Clone for ShapeNormalForm
impl Clone for ShapeNormalForm
Source§fn clone(&self) -> ShapeNormalForm
fn clone(&self) -> ShapeNormalForm
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 ShapeNormalForm
impl Debug for ShapeNormalForm
impl Eq for ShapeNormalForm
Source§impl PartialEq for ShapeNormalForm
impl PartialEq for ShapeNormalForm
Source§fn eq(&self, other: &ShapeNormalForm) -> bool
fn eq(&self, other: &ShapeNormalForm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShapeNormalForm
Auto Trait Implementations§
impl Freeze for ShapeNormalForm
impl RefUnwindSafe for ShapeNormalForm
impl Send for ShapeNormalForm
impl Sync for ShapeNormalForm
impl Unpin for ShapeNormalForm
impl UnsafeUnpin for ShapeNormalForm
impl UnwindSafe for ShapeNormalForm
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