[][src]Struct pluralize::iter::AddController

pub struct AddController<T> { /* fields omitted */ }

The structure allowing us to communicate Additions to a Pluralized type through the Adder iterator.

Methods

impl<T> AddController<T>[src]

pub fn add(&self, d: T)[src]

Signal that the Adder should push( ) the given value into the underlying collection.

pub fn clear(&self)[src]

Returns the controller to its default value. If the controller is at its default value at the end of an iteration it will end the loop.

Calling this without first calling .add( ) is superfluous.

Auto Trait Implementations

impl<T> !RefUnwindSafe for AddController<T>

impl<T> Send for AddController<T> where
    T: Send

impl<T> !Sync for AddController<T>

impl<T> Unpin for AddController<T> where
    T: Unpin

impl<T> UnwindSafe for AddController<T> where
    T: UnwindSafe

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<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.