Struct Comma

struct Comma { ... }

,

Usage: various separators.

Don't try to remember the name of this type — use the Token! macro instead.

Fields

spans: [Span; 1]

Implementations

impl Clone for Comma

fn clone(self: &Self) -> Self

impl Copy for Comma

impl Debug for Comma

fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result

impl Default for Comma

fn default() -> Self

impl Deref for Comma

fn deref(self: &Self) -> &<Self as >::Target

impl DerefMut for Comma

fn deref_mut(self: &mut Self) -> &mut <Self as >::Target

impl Eq for Comma

impl Freeze for Comma

impl Hash for Comma

fn hash<H: Hasher>(self: &Self, _state: &mut H)

impl Parse for Comma

fn parse(input: ParseStream<'_>) -> Result<Self>

impl PartialEq for Comma

fn eq(self: &Self, _other: &Comma) -> bool

impl RefUnwindSafe for Comma

impl Send for Comma

impl Sync for Comma

impl ToTokens for Comma

fn to_tokens(self: &Self, tokens: &mut TokenStream)

impl Token for Comma

impl Unpin for Comma

impl UnwindSafe for Comma

impl<P, T> Receiver for Comma

impl<T> Any for Comma

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Comma

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Comma

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Comma

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for Comma

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Spanned for Comma

fn span(self: &Self) -> Span

impl<T> ToOwned for Comma

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for Comma

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Comma

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Comma

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>