pub enum ModuleDirective<'tree> {
ExportsModuleDirective(Box<ExportsModuleDirective<'tree>>),
OpensModuleDirective(Box<OpensModuleDirective<'tree>>),
ProvidesModuleDirective(Box<ProvidesModuleDirective<'tree>>),
RequiresModuleDirective(Box<RequiresModuleDirective<'tree>>),
UsesModuleDirective(Box<UsesModuleDirective<'tree>>),
}Variants§
ExportsModuleDirective(Box<ExportsModuleDirective<'tree>>)
OpensModuleDirective(Box<OpensModuleDirective<'tree>>)
ProvidesModuleDirective(Box<ProvidesModuleDirective<'tree>>)
RequiresModuleDirective(Box<RequiresModuleDirective<'tree>>)
UsesModuleDirective(Box<UsesModuleDirective<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for ModuleDirective<'tree>
impl<'tree> Clone for ModuleDirective<'tree>
Source§fn clone(&self) -> ModuleDirective<'tree>
fn clone(&self) -> ModuleDirective<'tree>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for ModuleDirective<'tree>
impl<'tree> Debug for ModuleDirective<'tree>
Source§impl<'tree> FromNode<'tree> for ModuleDirective<'tree>
impl<'tree> FromNode<'tree> for ModuleDirective<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ModuleDirective<'tree>
impl<'tree> RefUnwindSafe for ModuleDirective<'tree>
impl<'tree> Send for ModuleDirective<'tree>
impl<'tree> Sync for ModuleDirective<'tree>
impl<'tree> Unpin for ModuleDirective<'tree>
impl<'tree> UnsafeUnpin for ModuleDirective<'tree>
impl<'tree> UnwindSafe for ModuleDirective<'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