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