Struct Ancestors

struct Ancestors<'a, T: 'a>(_)

An iterator of references to the ancestors a given node.

Implementations

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

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

fn next(self: &mut Self) -> Option<&'a Node<'a, T>>

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> Unpin for Ancestors<'a, T>

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

impl<'a, T: $crate::fmt::Debug + 'a> Debug for Ancestors<'a, T>

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

impl<I> IntoIterator for Ancestors<'a, T>

fn into_iter(self: Self) -> I

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

fn type_id(self: &Self) -> TypeId

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

fn borrow(self: &Self) -> &T

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

fn borrow_mut(self: &mut Self) -> &mut T

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

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for Ancestors<'a, T>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Ancestors<'a, T>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Ancestors<'a, T>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>