pub struct Term<T = Normalized> {
pub path: Path,
pub normalized: T,
}Expand description
One term: where the scalar sits in the value, and what the normalizer
made of it. An equality term, a Normalized, unless Terms::by
was given another normalizer.
Debug shows the path’s shape, with its map keys masked as Step
masks them, and masks the term.
Fields§
§path: PathThe path from the root, empty for a scalar at the root.
normalized: TThe term itself: for equality, the frozen domain label and the normalized bytes.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Term<T>where
T: Freeze,
impl<T> RefUnwindSafe for Term<T>where
T: RefUnwindSafe,
impl<T> Send for Term<T>where
T: Send,
impl<T> Sync for Term<T>where
T: Sync,
impl<T> Unpin for Term<T>where
T: Unpin,
impl<T> UnsafeUnpin for Term<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Term<T>where
T: UnwindSafe,
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