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