pub struct ColonColon(/* private fields */);Expand description
Represents a two consecutive tokens with Kind::Colon that cannot be separated by any other token, representing
::. Use T![::] to refer to this.
Implementations§
Source§impl ColonColon
impl ColonColon
Trait Implementations§
Source§impl Clone for ColonColon
impl Clone for ColonColon
Source§fn clone(&self) -> ColonColon
fn clone(&self) -> ColonColon
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 ColonColon
impl Debug for ColonColon
Source§impl Hash for ColonColon
impl Hash for ColonColon
Source§impl Ord for ColonColon
impl Ord for ColonColon
Source§fn cmp(&self, other: &ColonColon) -> Ordering
fn cmp(&self, other: &ColonColon) -> 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 ColonColon
impl<'a> Parse<'a> for ColonColon
Source§impl PartialEq for ColonColon
impl PartialEq for ColonColon
Source§impl PartialOrd for ColonColon
impl PartialOrd for ColonColon
Source§impl<'a> Peek<'a> for ColonColon
impl<'a> Peek<'a> for ColonColon
Source§impl SemanticEq for ColonColon
impl SemanticEq for ColonColon
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 ColonColon
impl ToCursors for ColonColon
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for ColonColon
impl Eq for ColonColon
impl StructuralPartialEq for ColonColon
Auto Trait Implementations§
impl Freeze for ColonColon
impl RefUnwindSafe for ColonColon
impl Send for ColonColon
impl Sync for ColonColon
impl Unpin for ColonColon
impl UnwindSafe for ColonColon
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