Struct ItemInfo

struct ItemInfo<'a> { ... }

A struct providing information about the item being passed to ParseCallbacks::generated_name_override.

Fields

name: &'a str

The name of the item

kind: ItemKind

The kind of item

Implementations

impl<'a> Clone for ItemInfo<'a>

fn clone(self: &Self) -> ItemInfo<'a>

impl<'a> Copy for ItemInfo<'a>

impl<'a> Freeze for ItemInfo<'a>

impl<'a> RefUnwindSafe for ItemInfo<'a>

impl<'a> Send for ItemInfo<'a>

impl<'a> Sync for ItemInfo<'a>

impl<'a> Unpin for ItemInfo<'a>

impl<'a> UnwindSafe for ItemInfo<'a>

impl<T> Any for ItemInfo<'a>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ItemInfo<'a>

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

impl<T> BorrowMut for ItemInfo<'a>

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

impl<T> CloneToUninit for ItemInfo<'a>

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

impl<T> From for ItemInfo<'a>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ItemInfo<'a>

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

impl<T, U> Into for ItemInfo<'a>

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 ItemInfo<'a>

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

impl<T, U> TryInto for ItemInfo<'a>

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