Struct PrecedingSiblings

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

An iterator of references to the siblings before a given node.

Trait Implementations

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

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

impl<'a, T> Iterator for PrecedingSiblings<'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 PrecedingSiblings<'a, T>

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

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

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

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

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

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

Blanket Implementations

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

type Item = <I as Iterator>::Item;
type IntoIter = I;
fn into_iter(self) -> I

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

fn from(t: T) -> T

Returns the argument unchanged.

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

fn into(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<U> for PrecedingSiblings<'a, T> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

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

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