Struct Ancestors

pub struct Ancestors<'a, T: 'a>(/* private field */);

An iterator of references to the ancestors a given node.

Trait Implementations

impl<'a, T> Debug for Ancestors<'a, RefCell<T>> where T: Debug + 'a,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'a, T> Iterator for Ancestors<'a, T>

type Item = &'a Node<'a, T>;
fn next(&mut self) -> Option<&'a Node<'a, T>>

Auto Trait Implementations

impl<'a, T> !RefUnwindSafe for Ancestors<'a, T>

impl<'a, T> !Send for Ancestors<'a, T>

impl<'a, T> !Sync for Ancestors<'a, T>

impl<'a, T> !UnwindSafe for Ancestors<'a, T>

impl<'a, T> Freeze for Ancestors<'a, T> where Option<&'a Node<'a, T>>: Freeze,

impl<'a, T> Unpin for Ancestors<'a, T> where Option<&'a Node<'a, T>>: Unpin,

impl<'a, T> UnsafeUnpin for Ancestors<'a, T> where Option<&'a Node<'a, T>>: UnsafeUnpin,

Blanket Implementations

impl<F, T, S> SimdInto<T, S> for Ancestors<'a, T> where T: SimdFrom<F, S>, S: Simd,

impl<I> IntoIterator for Ancestors<'a, T> where I: Iterator,

impl<T> Any for Ancestors<'a, T> where T: 'static + ?Sized,

impl<T> Borrow<T> for Ancestors<'a, T> where T: ?Sized,

impl<T> BorrowMut<T> for Ancestors<'a, T> where T: ?Sized,

impl<T> From<T> for Ancestors<'a, T>

impl<T, S> SimdFrom<T, S> for Ancestors<'a, T> where S: Simd,

impl<T, U> Into<U> for Ancestors<'a, T> where U: From<T>,

impl<T, U> TryFrom<U> for Ancestors<'a, T> where U: Into<T>,

impl<T, U> TryInto<U> for Ancestors<'a, T> where U: TryFrom<T>,