[−][src]Struct pluralize::iter::AddController
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,
T: Send,
impl<T> !Sync for AddController<T>
impl<T> Unpin for AddController<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for AddController<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,