Struct AndAnd

struct AndAnd { ... }

&&

Usage: lazy AND, borrow, references, reference patterns.

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

Fields

spans: [Span; 2]

Implementations

impl Clone for AndAnd

fn clone(self: &Self) -> Self

impl Copy for AndAnd

impl Debug for AndAnd

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

impl Default for AndAnd

fn default() -> Self

impl Eq for AndAnd

impl Freeze for AndAnd

impl Hash for AndAnd

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

impl Parse for AndAnd

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

impl PartialEq for AndAnd

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

impl RefUnwindSafe for AndAnd

impl Send for AndAnd

impl Sync for AndAnd

impl ToTokens for AndAnd

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

impl Token for AndAnd

impl Unpin for AndAnd

impl UnwindSafe for AndAnd

impl<T> Any for AndAnd

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for AndAnd

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

impl<T> BorrowMut for AndAnd

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

impl<T> CloneToUninit for AndAnd

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

impl<T> From for AndAnd

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Spanned for AndAnd

fn span(self: &Self) -> Span

impl<T> ToOwned for AndAnd

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

impl<T, U> Into for AndAnd

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 AndAnd

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

impl<T, U> TryInto for AndAnd

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