Struct analiticcl::iterators::DeletionIterator[][src]

pub struct DeletionIterator<'a> { /* fields omitted */ }

Returns all AnaValues that are formed when doing single deletion. This is the most basic iterator form from which most others are derived.

The iterator yields values in order of descending alphabet index.

So given an anagram value for abcd it will yield anagram values abc, abd, acd, bcd

Implementations

impl<'a> DeletionIterator<'a>[src]

pub fn new(
    value: &'a AnaValue,
    alphabet_size: CharIndexType
) -> DeletionIterator<'_>

Notable traits for DeletionIterator<'a>

impl<'a> Iterator for DeletionIterator<'a> type Item = DeletionResult;
[src]

Trait Implementations

impl<'a> Iterator for DeletionIterator<'a>[src]

type Item = DeletionResult

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a> RefUnwindSafe for DeletionIterator<'a>

impl<'a> Send for DeletionIterator<'a>

impl<'a> Sync for DeletionIterator<'a>

impl<'a> Unpin for DeletionIterator<'a>

impl<'a> UnwindSafe for DeletionIterator<'a>

Blanket Implementations

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

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

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

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.