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