pub enum ItemKind {
Use(ItemUse),
Struct(ItemStruct),
Enum(ItemEnum),
Fn(ItemFn),
Trait(ItemTrait),
Impl(ItemImpl),
Abi(ItemAbi),
Const(ItemConst),
Storage(ItemStorage),
}
Variants
Use(ItemUse)
Struct(ItemStruct)
Enum(ItemEnum)
Fn(ItemFn)
Trait(ItemTrait)
Impl(ItemImpl)
Abi(ItemAbi)
Const(ItemConst)
Storage(ItemStorage)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ItemKind
impl Send for ItemKind
impl Sync for ItemKind
impl Unpin for ItemKind
impl UnwindSafe for ItemKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more