Struct PercentEq

struct PercentEq { ... }

%=

Usage: remainder assignment.

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

Fields

spans: [Span; 2]

Implementations

impl Clone for PercentEq

fn clone(self: &Self) -> Self

impl Copy for PercentEq

impl Debug for PercentEq

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

impl Default for PercentEq

fn default() -> Self

impl Eq for PercentEq

impl Freeze for PercentEq

impl Hash for PercentEq

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

impl Parse for PercentEq

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

impl PartialEq for PercentEq

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

impl RefUnwindSafe for PercentEq

impl Send for PercentEq

impl Sync for PercentEq

impl ToTokens for PercentEq

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

impl Token for PercentEq

impl Unpin for PercentEq

impl UnwindSafe for PercentEq

impl<T> Any for PercentEq

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for PercentEq

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

impl<T> BorrowMut for PercentEq

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

impl<T> CloneToUninit for PercentEq

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

impl<T> From for PercentEq

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Spanned for PercentEq

fn span(self: &Self) -> Span

impl<T> ToOwned for PercentEq

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

impl<T, U> Into for PercentEq

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 PercentEq

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

impl<T, U> TryInto for PercentEq

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