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