Struct SlashEq

struct SlashEq { ... }

/=

Usage: division assignment.

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

Fields

spans: [Span; 2]

Implementations

impl Clone for SlashEq

fn clone(self: &Self) -> Self

impl Copy for SlashEq

impl Debug for SlashEq

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

impl Default for SlashEq

fn default() -> Self

impl Eq for SlashEq

impl Freeze for SlashEq

impl Hash for SlashEq

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

impl Parse for SlashEq

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

impl PartialEq for SlashEq

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

impl RefUnwindSafe for SlashEq

impl Send for SlashEq

impl Sync for SlashEq

impl ToTokens for SlashEq

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

impl Token for SlashEq

impl Unpin for SlashEq

impl UnwindSafe for SlashEq

impl<T> Any for SlashEq

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for SlashEq

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

impl<T> BorrowMut for SlashEq

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

impl<T> CloneToUninit for SlashEq

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

impl<T> From for SlashEq

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Spanned for SlashEq

fn span(self: &Self) -> Span

impl<T> ToOwned for SlashEq

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

impl<T, U> Into for SlashEq

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 SlashEq

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

impl<T, U> TryInto for SlashEq

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