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