pub struct PairWiseEnd(/* private fields */);Expand description
Represents a token with either Kind::RightCurly, Kind::RightParen or Kind::RightSquare. Use T![PairWiseEnd] to refer to this.
Implementations§
Trait Implementations§
Source§impl Clone for PairWiseEnd
impl Clone for PairWiseEnd
Source§fn clone(&self) -> PairWiseEnd
fn clone(&self) -> PairWiseEnd
Returns a duplicate of the value. Read more
1.0.0 · 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 PairWiseEnd
impl Debug for PairWiseEnd
Source§impl Default for PairWiseEnd
impl Default for PairWiseEnd
Source§fn default() -> PairWiseEnd
fn default() -> PairWiseEnd
Returns the “default value” for a type. Read more
Source§impl From<PairWiseEnd> for Cursor
impl From<PairWiseEnd> for Cursor
Source§fn from(value: PairWiseEnd) -> Self
fn from(value: PairWiseEnd) -> Self
Converts to this type from the input type.
Source§impl From<PairWiseEnd> for Token
impl From<PairWiseEnd> for Token
Source§fn from(value: PairWiseEnd) -> Self
fn from(value: PairWiseEnd) -> Self
Converts to this type from the input type.
Source§impl Hash for PairWiseEnd
impl Hash for PairWiseEnd
Source§impl Ord for PairWiseEnd
impl Ord for PairWiseEnd
Source§fn cmp(&self, other: &PairWiseEnd) -> Ordering
fn cmp(&self, other: &PairWiseEnd) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for PairWiseEnd
impl<'a> Parse<'a> for PairWiseEnd
Source§impl PartialEq for PairWiseEnd
impl PartialEq for PairWiseEnd
Source§impl PartialOrd for PairWiseEnd
impl PartialOrd for PairWiseEnd
Source§impl<'a> Peek<'a> for PairWiseEnd
impl<'a> Peek<'a> for PairWiseEnd
Source§impl SemanticEq for PairWiseEnd
impl SemanticEq for PairWiseEnd
Source§fn semantic_eq(&self, s: &Self) -> bool
fn semantic_eq(&self, s: &Self) -> bool
Returns
true if self and other are semantically equal.Source§impl ToCursors for PairWiseEnd
impl ToCursors for PairWiseEnd
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for PairWiseEnd
impl Eq for PairWiseEnd
impl StructuralPartialEq for PairWiseEnd
Auto Trait Implementations§
impl Freeze for PairWiseEnd
impl RefUnwindSafe for PairWiseEnd
impl Send for PairWiseEnd
impl Sync for PairWiseEnd
impl Unpin for PairWiseEnd
impl UnwindSafe for PairWiseEnd
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