pub struct SlashSlash {
pub span: Span,
}
Expand description
//
Fields§
§span: Span
The span covered by this token.
Implementations§
Source§impl SlashSlash
impl SlashSlash
Sourcepub const fn new(span: Span) -> SlashSlash
pub const fn new(span: Span) -> SlashSlash
Constructs a new SlashSlash
with the given span.
Trait Implementations§
Source§impl Clone for SlashSlash
impl Clone for SlashSlash
Source§fn clone(&self) -> SlashSlash
fn clone(&self) -> SlashSlash
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 SlashSlash
impl Debug for SlashSlash
Source§impl Display for SlashSlash
impl Display for SlashSlash
Source§impl Hash for SlashSlash
impl Hash for SlashSlash
Source§impl Ord for SlashSlash
impl Ord for SlashSlash
Source§impl Parse for SlashSlash
impl Parse for SlashSlash
Source§impl PartialEq for SlashSlash
impl PartialEq for SlashSlash
Source§impl PartialOrd for SlashSlash
impl PartialOrd for SlashSlash
Source§impl ToTokens for SlashSlash
impl ToTokens for SlashSlash
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 SlashSlash
impl Token for SlashSlash
impl Eq for SlashSlash
impl Punct for SlashSlash
Auto Trait Implementations§
impl Freeze for SlashSlash
impl RefUnwindSafe for SlashSlash
impl Send for SlashSlash
impl Sync for SlashSlash
impl Unpin for SlashSlash
impl UnwindSafe for SlashSlash
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