pub struct ItemDef {
pub identification: Identification,
pub specializes: Option<String>,
pub specializes_span: Option<Span>,
pub body: AttributeBody,
}Expand description
Item definition: item def Identification body (for events, etc.).
Fields§
§identification: Identification§specializes: Option<String>§specializes_span: Option<Span>§body: AttributeBodyTrait Implementations§
impl Eq for ItemDef
impl StructuralPartialEq for ItemDef
Auto Trait Implementations§
impl Freeze for ItemDef
impl RefUnwindSafe for ItemDef
impl Send for ItemDef
impl Sync for ItemDef
impl Unpin for ItemDef
impl UnsafeUnpin for ItemDef
impl UnwindSafe for ItemDef
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