pub struct CloseParen {
pub span: Span,
}
Expand description
closing parenthesis
Fields§
§span: Span
Associated token.
Trait Implementations§
Source§impl Clone for CloseParen
impl Clone for CloseParen
Source§fn clone(&self) -> CloseParen
fn clone(&self) -> CloseParen
Returns a copy 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 CloseParen
impl Debug for CloseParen
Source§impl OptionSpanned for CloseParen
impl OptionSpanned for CloseParen
Source§fn option_span(&self) -> Option<Span>
fn option_span(&self) -> Option<Span>
Get the optional span of the type.
Source§impl Parse for CloseParen
impl Parse for CloseParen
Source§impl PartialEq for CloseParen
impl PartialEq for CloseParen
Source§impl Peek for CloseParen
impl Peek for CloseParen
Source§impl ToTokens for CloseParen
impl ToTokens for CloseParen
Source§fn to_tokens(
&self,
_: &mut MacroContext<'_, '_, '_>,
stream: &mut TokenStream,
) -> Result<()>
fn to_tokens( &self, _: &mut MacroContext<'_, '_, '_>, stream: &mut TokenStream, ) -> Result<()>
Turn the current item into tokens.
Source§impl TryClone for CloseParen
impl TryClone for CloseParen
impl Copy for CloseParen
impl Eq for CloseParen
impl StructuralPartialEq for CloseParen
Auto Trait Implementations§
impl Freeze for CloseParen
impl RefUnwindSafe for CloseParen
impl Send for CloseParen
impl Sync for CloseParen
impl Unpin for CloseParen
impl UnwindSafe for CloseParen
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.