pub struct CloseBracket {
pub span: Span,
}
Expand description
closing bracket
Fields§
§span: Span
Associated token.
Trait Implementations§
Source§impl Clone for CloseBracket
impl Clone for CloseBracket
Source§fn clone(&self) -> CloseBracket
fn clone(&self) -> CloseBracket
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 CloseBracket
impl Debug for CloseBracket
Source§impl OptionSpanned for CloseBracket
impl OptionSpanned for CloseBracket
Source§fn option_span(&self) -> Option<Span>
fn option_span(&self) -> Option<Span>
Get the optional span of the type.
Source§impl Parse for CloseBracket
impl Parse for CloseBracket
Source§impl PartialEq for CloseBracket
impl PartialEq for CloseBracket
Source§impl Peek for CloseBracket
impl Peek for CloseBracket
Source§impl ToTokens for CloseBracket
impl ToTokens for CloseBracket
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 CloseBracket
impl TryClone for CloseBracket
impl Copy for CloseBracket
impl Eq for CloseBracket
impl StructuralPartialEq for CloseBracket
Auto Trait Implementations§
impl Freeze for CloseBracket
impl RefUnwindSafe for CloseBracket
impl Send for CloseBracket
impl Sync for CloseBracket
impl Unpin for CloseBracket
impl UnwindSafe for CloseBracket
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.