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