Struct FatArrow
struct FatArrow { ... }
=>
Usage: match arms, macros.
Don't try to remember the name of this type — use the
Token! macro instead.
Fields
spans: [Span; 2]
Implementations
impl Clone for FatArrow
fn clone(self: &Self) -> Self
impl Copy for FatArrow
impl Debug for FatArrow
fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Default for FatArrow
fn default() -> Self
impl Eq for FatArrow
impl Freeze for FatArrow
impl Hash for FatArrow
fn hash<H: Hasher>(self: &Self, _state: &mut H)
impl Parse for FatArrow
fn parse(input: ParseStream<'_>) -> Result<Self>
impl PartialEq for FatArrow
fn eq(self: &Self, _other: &FatArrow) -> bool
impl RefUnwindSafe for FatArrow
impl Send for FatArrow
impl Sync for FatArrow
impl ToTokens for FatArrow
fn to_tokens(self: &Self, tokens: &mut TokenStream)
impl Token for FatArrow
impl Unpin for FatArrow
impl UnwindSafe for FatArrow
impl<T> Any for FatArrow
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for FatArrow
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for FatArrow
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for FatArrow
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for FatArrow
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Spanned for FatArrow
fn span(self: &Self) -> Span
impl<T> ToOwned for FatArrow
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for FatArrow
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for FatArrow
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for FatArrow
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>