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