pub struct ModuleDcl {
pub annotations: Vec<AnnotationAppl>,
pub ident: Identifier,
pub definition: Vec<Definition>,
}Fields§
§annotations: Vec<AnnotationAppl>§ident: Identifier§definition: Vec<Definition>Trait Implementations§
Source§impl<'a> FromTreeSitter<'a> for ModuleDcl
impl<'a> FromTreeSitter<'a> for ModuleDcl
fn from_node(node: Node<'a>, ctx: &mut ParseContext<'a>) -> ParserResult<Self>
Auto Trait Implementations§
impl Freeze for ModuleDcl
impl RefUnwindSafe for ModuleDcl
impl Send for ModuleDcl
impl Sync for ModuleDcl
impl Unpin for ModuleDcl
impl UnsafeUnpin for ModuleDcl
impl UnwindSafe for ModuleDcl
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