[][src]Struct dogear::MergedRoot

pub struct MergedRoot<'t> { /* fields omitted */ }

The root of a merged tree, from which all merged nodes descend.

Methods

impl<'t> MergedRoot<'t>[src]

pub fn node(&self) -> &MergedNode[src]

Returns the root node.

pub fn completion_ops(&self) -> CompletionOps[src]

Returns a sequence of completion operations, or "completion ops", to apply to the local tree so that it matches the merged tree.

pub fn deletions(&self) -> impl Iterator<Item = Deletion>[src]

Returns an iterator for all accepted local and remote deletions.

pub fn local_deletions(&self) -> impl Iterator<Item = Deletion>[src]

Returns an iterator for all items that should be deleted from the local tree.

pub fn remote_deletions(&self) -> impl Iterator<Item = Deletion>[src]

Returns an iterator for all items that should be deleted from the remote tree.

pub fn counts(&self) -> &StructureCounts[src]

Returns structure change counts for this merged root.

Trait Implementations

impl<'t> Debug for MergedRoot<'t>[src]

Auto Trait Implementations

impl<'t> Sync for MergedRoot<'t>

impl<'t> Send for MergedRoot<'t>

impl<'t> Unpin for MergedRoot<'t>

impl<'t> RefUnwindSafe for MergedRoot<'t>

impl<'t> UnwindSafe for MergedRoot<'t>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]