pub(crate) type UnrootedAncestorIterator<'no_gc> = UnrootedSimpleNodeIterator<'no_gc, fn(&Node, &'no_gc NoGC) -> Option<UnrootedDom<'no_gc, Node>>>;Aliased Type§
pub(crate) struct UnrootedAncestorIterator<'no_gc> {
current: Option<UnrootedDom<'no_gc, Node>>,
next_node: fn(&Node, &'no_gc NoGC) -> Option<UnrootedDom<'no_gc, Node>>,
no_gc: &'no_gc NoGC,
}Fields§
§current: Option<UnrootedDom<'no_gc, Node>>§next_node: fn(&Node, &'no_gc NoGC) -> Option<UnrootedDom<'no_gc, Node>>§no_gc: &'no_gc NoGCThis is unused and only used for lifetime guarantee of NoGC