pub struct Predicate {
pub kind: PredicateKind,
pub span: Range<usize>,
}Expand description
One node of a parsed predicate and the byte range of its text.
Fields§
§kind: PredicateKindWhat the node is.
span: Range<usize>Its text’s byte range in the predicate, enclosing parentheses included.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Predicate
Auto Trait Implementations§
impl Freeze for Predicate
impl RefUnwindSafe for Predicate
impl Send for Predicate
impl Sync for Predicate
impl Unpin for Predicate
impl UnsafeUnpin for Predicate
impl UnwindSafe for Predicate
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