Enum ItemKind
enum ItemKind
An enum indicating the kind of item for an ItemInfo.
Variants
-
Module A module
-
Type A type
-
Function A Function
-
Var A Variable
Implementations
impl Clone for ItemKind
fn clone(self: &Self) -> ItemKind
impl Copy for ItemKind
impl Freeze for ItemKind
impl RefUnwindSafe for ItemKind
impl Send for ItemKind
impl Sync for ItemKind
impl Unpin for ItemKind
impl UnwindSafe for ItemKind
impl<T> Any for ItemKind
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for ItemKind
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for ItemKind
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for ItemKind
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for ItemKind
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for ItemKind
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for ItemKind
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 ItemKind
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for ItemKind
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>