pub struct Or(/* private fields */);Expand description
Represents a token with Kind::Delim that has the char |. Use T![|] to
refer to this.
Trait Implementations§
Source§impl Ord for Or
impl Ord for Or
Source§impl PartialOrd for Or
impl PartialOrd for Or
Source§impl SemanticEq for Or
impl SemanticEq for Or
Source§fn semantic_eq(&self, other: &Self) -> bool
fn semantic_eq(&self, other: &Self) -> bool
Returns
true if self and other are semantically equal.Source§impl ToCursors for Or
impl ToCursors for Or
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for Or
impl Eq for Or
impl StructuralPartialEq for Or
Auto Trait Implementations§
impl Freeze for Or
impl RefUnwindSafe for Or
impl Send for Or
impl Sync for Or
impl Unpin for Or
impl UnwindSafe for Or
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