enum ExternItem {
Struct(ItemStruct),
Enum(ItemEnum),
Trait(ExternItemTrait),
Fn(ExternFn),
Impl(ExternItemImpl),
}
Variants§
Implementations§
Source§impl ExternItem
impl ExternItem
Trait Implementations§
Source§impl Parse for ExternItem
impl Parse for ExternItem
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for ExternItem
impl RefUnwindSafe for ExternItem
impl !Send for ExternItem
impl !Sync for ExternItem
impl Unpin for ExternItem
impl UnwindSafe for ExternItem
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