Struct Shl

struct Shl { ... }

<<

Usage: shift left, nested generics.

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

Fields

spans: [Span; 2]

Implementations

impl Clone for Shl

fn clone(self: &Self) -> Self

impl Copy for Shl

impl Debug for Shl

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

impl Default for Shl

fn default() -> Self

impl Eq for Shl

impl Freeze for Shl

impl Hash for Shl

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

impl Parse for Shl

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

impl PartialEq for Shl

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

impl RefUnwindSafe for Shl

impl Send for Shl

impl Sync for Shl

impl ToTokens for Shl

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

impl Token for Shl

impl Unpin for Shl

impl UnwindSafe for Shl

impl<T> Any for Shl

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Shl

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

impl<T> BorrowMut for Shl

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

impl<T> CloneToUninit for Shl

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

impl<T> From for Shl

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Spanned for Shl

fn span(self: &Self) -> Span

impl<T> ToOwned for Shl

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

impl<T, U> Into for Shl

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 Shl

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

impl<T, U> TryInto for Shl

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