pub struct ColonColon {
pub span: Span,
}
Expand description
::
Fields§
§span: Span
The span covered by this token.
Implementations§
Source§impl ColonColon
impl ColonColon
Sourcepub const fn new(span: Span) -> ColonColon
pub const fn new(span: Span) -> ColonColon
Constructs a new ColonColon
with the given span.
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 Display for ColonColon
impl Display for ColonColon
Source§impl Hash for ColonColon
impl Hash for ColonColon
Source§impl Ord for ColonColon
impl Ord for ColonColon
Source§impl Parse for ColonColon
impl Parse for ColonColon
Source§impl PartialEq for ColonColon
impl PartialEq for ColonColon
Source§impl PartialOrd for ColonColon
impl PartialOrd for ColonColon
Source§impl ToTokens for ColonColon
impl ToTokens for ColonColon
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Append
self
to the given TokenStream
.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Convert
self
directly into a TokenStream
.Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Convert
self
directly into a TokenStream
.Source§impl Token for ColonColon
impl Token for ColonColon
impl Eq for ColonColon
impl Punct 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