Trait hyper_ast::types::WithChildrenSameLang
source · pub trait WithChildrenSameLang: WithChildren {
type TChildren<'a>: Children<Self::ChildIdx, Self::TreeId> + ?Sized
where Self: 'a;
// Required methods
fn child_count(&self) -> Self::ChildIdx;
fn child(&self, idx: &Self::ChildIdx) -> Option<Self::TreeId>;
fn child_rev(&self, idx: &Self::ChildIdx) -> Option<Self::TreeId>;
fn children(&self) -> Option<&Self::Children<'_>>;
}