[−][src]Struct disrustor::internal::Producer
Methods
impl<D: DataProvider<T>, T, S: Sequencer> Producer<D, T, S>
[src]
Trait Implementations
impl<'a, D: DataProvider<T> + 'a, T, S: Sequencer + 'a> EventProducer<'a> for Producer<D, T, S>
[src]
type Item = T
fn write<F, U, I, E>(&self, items: I, f: F) where
D: DataProvider<T>,
I: IntoIterator<Item = U, IntoIter = E>,
E: ExactSizeIterator<Item = U>,
F: Fn(&mut Self::Item, Sequence, &U),
[src]
D: DataProvider<T>,
I: IntoIterator<Item = U, IntoIter = E>,
E: ExactSizeIterator<Item = U>,
F: Fn(&mut Self::Item, Sequence, &U),
fn drain(self)
[src]
Auto Trait Implementations
impl<D, T, S> Unpin for Producer<D, T, S> where
S: Unpin,
T: Unpin,
S: Unpin,
T: Unpin,
impl<D, T, S> Send for Producer<D, T, S> where
S: Send,
T: Send,
S: Send,
T: Send,
impl<D, T, S> Sync for Producer<D, T, S> where
S: Sync,
T: Sync,
S: Sync,
T: Sync,
impl<D, T, S> RefUnwindSafe for Producer<D, T, S> where
D: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
D: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<D, T, S> UnwindSafe for Producer<D, T, S> where
D: RefUnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
D: RefUnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,