[][src]Struct dogear::Problems

pub struct Problems(_);

Records problems for all items in a tree.

Methods

impl Problems[src]

pub fn note(&mut self, guid: &Guid, problem: Problem) -> &mut Problems[src]

Notes a problem for an item.

pub fn is_empty(&self) -> bool[src]

Returns true if there are no problems.

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

Returns an iterator for all problems.

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

Returns total counts for each problem. If any counts are not 0, the tree structure diverged.

Trait Implementations

impl Default for Problems[src]

impl Debug for Problems[src]

Auto Trait Implementations

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]