pub enum Item {
Struct(ItemStruct),
Enum(ItemEnum),
}Expand description
Things that can appear directly inside of a module or scope.
Variants§
Struct(ItemStruct)
Enum(ItemEnum)
Trait Implementations§
Auto Trait Implementations§
impl !Send for Item
impl !Sync for Item
impl Freeze for Item
impl RefUnwindSafe for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more