Struct AttributeInfo
struct AttributeInfo<'a> { ... }
Relevant information about a type to which new attributes will be added using
ParseCallbacks::add_attributes.
Fields
name: &'a strThe name of the type.
kind: TypeKindThe kind of the type.
Implementations
impl<'a> Debug for AttributeInfo<'a>
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<'a> Freeze for AttributeInfo<'a>
impl<'a> RefUnwindSafe for AttributeInfo<'a>
impl<'a> Send for AttributeInfo<'a>
impl<'a> Sync for AttributeInfo<'a>
impl<'a> Unpin for AttributeInfo<'a>
impl<'a> UnwindSafe for AttributeInfo<'a>
impl<T> Any for AttributeInfo<'a>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for AttributeInfo<'a>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for AttributeInfo<'a>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for AttributeInfo<'a>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for AttributeInfo<'a>
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 AttributeInfo<'a>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for AttributeInfo<'a>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>