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