pub struct FileDecl { /* private fields */ }
Implementations§
Source§impl FileDecl
impl FileDecl
pub fn modules<'a>( &self, tree: &'a SyntaxTree, token: &'a PermTkn, ) -> ChildrenRef<'a, FileDecl, ContainerT<Vec<ModDecl>>, 0>
pub fn modules_mut<'a>( &self, tree: &'a SyntaxTree, ) -> ChildrenMut<'a, FileDecl, ContainerT<Vec<ModDecl>>, 0>
Trait Implementations§
Source§impl HasChildrenMarker<<Vec<ModDecl> as FromOptVec>::T, 0> for FileDecl
impl HasChildrenMarker<<Vec<ModDecl> as FromOptVec>::T, 0> for FileDecl
type Container = Vec<ModDecl>
fn get_children<'b>(
&self,
tree: &'b SyntaxTree,
token: &'b PermTkn,
) -> ChildrenRef<'b, Self, Child, TAG>where
AnyNode: ConvertibleToRef<Child>,
fn get_children_mut<'b>(
&self,
tree: &'b SyntaxTree,
) -> ChildrenMut<'b, Self, Child, TAG>where
AnyNode: ConvertibleToMut<Child>,
Source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AnyNode> for &'__deriveMoreLifetime FileDecl
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AnyNode> for &'__deriveMoreLifetime FileDecl
Source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AnyNode> for &'__deriveMoreLifetime mut FileDecl
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AnyNode> for &'__deriveMoreLifetime mut FileDecl
impl StructuralPartialEq for FileDecl
Auto Trait Implementations§
impl !Freeze for FileDecl
impl !RefUnwindSafe for FileDecl
impl Send for FileDecl
impl !Sync for FileDecl
impl Unpin for FileDecl
impl UnwindSafe for FileDecl
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