pub struct Module<'a> { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<'a> AstNode<'a> for Module<'a>
impl<'a> AstNode<'a> for Module<'a>
fn cast(syntax: SyntaxNodeRef<'a>) -> Option<Self>
fn syntax(self) -> SyntaxNodeRef<'a>
sourceimpl<'a> AttrsOwner<'a> for Module<'a>
impl<'a> AttrsOwner<'a> for Module<'a>
fn attrs(self) -> AstChildren<'a, Attr<'a>> ⓘ
sourceimpl<'a> From<Module<'a>> for ModuleNode
impl<'a> From<Module<'a>> for ModuleNode
sourcefn from(ast: Module<'a>) -> ModuleNode
fn from(ast: Module<'a>) -> ModuleNode
Converts to this type from the input type.
impl<'a> Copy for Module<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Module<'a>
impl<'a> Send for Module<'a>
impl<'a> Sync for Module<'a>
impl<'a> Unpin for Module<'a>
impl<'a> !UnwindSafe for Module<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more