pub struct PairWiseStart(/* private fields */);Expand description
Represents a token with either Kind::LeftCurly, Kind::LeftParen or Kind::LeftSquare. Use T![PairWiseStart] to refer to this.
Implementations§
Trait Implementations§
Source§impl Clone for PairWiseStart
impl Clone for PairWiseStart
Source§fn clone(&self) -> PairWiseStart
fn clone(&self) -> PairWiseStart
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 PairWiseStart
impl Debug for PairWiseStart
Source§impl Default for PairWiseStart
impl Default for PairWiseStart
Source§fn default() -> PairWiseStart
fn default() -> PairWiseStart
Returns the “default value” for a type. Read more
Source§impl From<PairWiseStart> for Cursor
impl From<PairWiseStart> for Cursor
Source§fn from(value: PairWiseStart) -> Self
fn from(value: PairWiseStart) -> Self
Converts to this type from the input type.
Source§impl From<PairWiseStart> for Token
impl From<PairWiseStart> for Token
Source§fn from(value: PairWiseStart) -> Self
fn from(value: PairWiseStart) -> Self
Converts to this type from the input type.
Source§impl Hash for PairWiseStart
impl Hash for PairWiseStart
Source§impl Ord for PairWiseStart
impl Ord for PairWiseStart
Source§fn cmp(&self, other: &PairWiseStart) -> Ordering
fn cmp(&self, other: &PairWiseStart) -> 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 PairWiseStart
impl<'a> Parse<'a> for PairWiseStart
Source§impl PartialEq for PairWiseStart
impl PartialEq for PairWiseStart
Source§impl PartialOrd for PairWiseStart
impl PartialOrd for PairWiseStart
Source§impl<'a> Peek<'a> for PairWiseStart
impl<'a> Peek<'a> for PairWiseStart
Source§impl ToCursors for PairWiseStart
impl ToCursors for PairWiseStart
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for PairWiseStart
impl Eq for PairWiseStart
impl StructuralPartialEq for PairWiseStart
Auto Trait Implementations§
impl Freeze for PairWiseStart
impl RefUnwindSafe for PairWiseStart
impl Send for PairWiseStart
impl Sync for PairWiseStart
impl Unpin for PairWiseStart
impl UnwindSafe for PairWiseStart
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