pub struct CloseBrace {
pub span: Span,
}
Expand description
closing brace
Fields§
§span: Span
Associated token.
Trait Implementations§
Source§impl Clone for CloseBrace
impl Clone for CloseBrace
Source§fn clone(&self) -> CloseBrace
fn clone(&self) -> CloseBrace
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 CloseBrace
impl Debug for CloseBrace
Source§impl OptionSpanned for CloseBrace
impl OptionSpanned for CloseBrace
Source§fn option_span(&self) -> Option<Span>
fn option_span(&self) -> Option<Span>
Get the optional span of the type.
Source§impl Parse for CloseBrace
impl Parse for CloseBrace
Source§impl PartialEq for CloseBrace
impl PartialEq for CloseBrace
Source§impl Peek for CloseBrace
impl Peek for CloseBrace
Source§impl ToTokens for CloseBrace
impl ToTokens for CloseBrace
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 CloseBrace
impl TryClone for CloseBrace
impl Copy for CloseBrace
impl Eq for CloseBrace
impl StructuralPartialEq for CloseBrace
Auto Trait Implementations§
impl Freeze for CloseBrace
impl RefUnwindSafe for CloseBrace
impl Send for CloseBrace
impl Sync for CloseBrace
impl Unpin for CloseBrace
impl UnwindSafe for CloseBrace
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.