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