pub struct ModItem<'tree> {
pub span: Span,
pub body: Option<DeclarationList<'tree>>,
pub name: Identifier<'tree>,
pub children: Option<VisibilityModifier<'tree>>,
}Fields§
§span: Span§body: Option<DeclarationList<'tree>>§name: Identifier<'tree>§children: Option<VisibilityModifier<'tree>>Trait Implementations§
impl<'tree> Eq for ModItem<'tree>
impl<'tree> StructuralPartialEq for ModItem<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ModItem<'tree>
impl<'tree> RefUnwindSafe for ModItem<'tree>
impl<'tree> Send for ModItem<'tree>
impl<'tree> Sync for ModItem<'tree>
impl<'tree> Unpin for ModItem<'tree>
impl<'tree> UnsafeUnpin for ModItem<'tree>
impl<'tree> UnwindSafe for ModItem<'tree>
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