[−][src]Trait seitan::StreamT
Required Methods
Provided Methods
fn on_value<'b, F: FnMut(T) + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
T: 'a,
'a: 'b,
Self: Sized,
fn map<'b, 'c, T3: Debug + Clone, F: 'c + FnMut(T) -> T3>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
fn filter<'b, F: FnMut(&T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
T: 'a,
'a: 'b,
Self: Sized,
fn filter_by<'b, 'c>(self, p: Property<'c, bool>) -> Stream<'b, T> where
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
fn filter_map<'b, T3: Debug + Clone, F: FnMut(T) -> Option<T3> + 'b>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn flat_map<'b, T3: Debug + Clone + 'b, F: FnMut(T) -> Stream<'b, T3> + 'b>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn take<'b>(self, take: usize) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
T: 'a,
'a: 'b,
Self: Sized,
fn take_then<'b>(self, take: usize, then: T) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
T: 'a,
'a: 'b,
Self: Sized,
fn take_while<'b, F: FnMut(T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
T: 'a,
'a: 'b,
Self: Sized,
fn take_while_then<'b, F: FnMut(T) -> bool + 'b>(
self,
f: F,
then: T
) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
self,
f: F,
then: T
) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn skip<'b>(self, skip: usize) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
T: 'a,
'a: 'b,
Self: Sized,
fn skip_while<'b, F: FnMut(T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
T: 'a,
'a: 'b,
Self: Sized,
fn fold<'b, T3: Debug + Clone, F: FnMut(T3, T) -> T3 + 'b>(
self,
initial: T3,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
self,
initial: T3,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn scan<'b, T2: Debug + Clone + 'b, T3: Debug + Clone + 'b, F: FnMut(&mut T2, T) -> Option<T3> + 'b>(
self,
initial: T2,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
self,
initial: T2,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn dedup<'b>(self) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
fn dedup_by<'b, F, T2>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
T2: PartialEq + 'b,
F: Fn(&T) -> T2 + 'b,
T: 'a,
'a: 'b,
Self: Sized,
T2: PartialEq + 'b,
F: Fn(&T) -> T2 + 'b,
fn dedup_or<'b>(self, or: Property<'b, bool>) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
fn delay<'b>(self, delay: usize) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
fn inspect<'b, F>(self, inspect: F) -> Stream<'b, T> where
T: 'b,
'a: 'b,
F: Fn(T) + 'b,
Self: Sized,
T: 'b,
'a: 'b,
F: Fn(T) + 'b,
Self: Sized,
fn once<'b, T2>(self, once: T2) -> Stream<'b, T2> where
T2: Clone + Debug + 'b,
T: 'a,
'a: 'b,
Self: Sized,
T2: Clone + Debug + 'b,
T: 'a,
'a: 'b,
Self: Sized,
fn merge<'b, 'c, S: Stream<'b, T>>(self, other: S) -> Stream<'c, T> where
T: 'c,
'a: 'c,
'b: 'c,
Self: Sized,
T: 'c,
'a: 'c,
'b: 'c,
Self: Sized,
fn throttle<'c>(self, fps: f32) -> Stream<'c, T> where
T: 'a,
'a: 'c,
Self: Sized,
T: 'a,
'a: 'c,
Self: Sized,
fn benchmark<'b, 'c, F, S: Stream<'b, F>>(
self,
frame_stream: S
) -> (Stream<'c, T>, Stream<'c, Duration>) where
T: 'a,
'a: 'c,
'b: 'c,
F: Clone + Debug + 'a + 'b,
Self: Sized,
self,
frame_stream: S
) -> (Stream<'c, T>, Stream<'c, Duration>) where
T: 'a,
'a: 'c,
'b: 'c,
F: Clone + Debug + 'a + 'b,
Self: Sized,
fn bandpass<'b>(self, alpha: T) -> Stream<'b, T> where
T: 'a + Zero + One + Sub<Output = T> + Add<Output = T> + Mul<Output = T> + Clone,
'a: 'b,
Self: Sized,
T: 'a + Zero + One + Sub<Output = T> + Add<Output = T> + Mul<Output = T> + Clone,
'a: 'b,
Self: Sized,
fn resolution<'b>(self, resolution: u8) -> Stream<'b, T> where
T: 'a + Div<Output = T> + Mul<Output = T> + Float,
'a: 'b,
Self: Sized,
T: 'a + Div<Output = T> + Mul<Output = T> + Float,
'a: 'b,
Self: Sized,
fn to_bool<'b>(self) -> Stream<'b, bool> where
T: 'a,
'a: 'b,
Self: Sized,
T: 'a,
'a: 'b,
Self: Sized,
fn until<'b, 'c, T2: Clone + Debug + 'b, S: Stream<'b, T2>>(
self,
until: S
) -> Stream<'c, bool> where
Self: Sized,
T: 'a,
'a: 'c,
'b: 'c,
self,
until: S
) -> Stream<'c, bool> where
Self: Sized,
T: 'a,
'a: 'c,
'b: 'c,
fn to_property<'b>(self, initial: T) -> Property<'a, T> where
T: 'a,
Self: Sized + Into<StreamRc<'a, T>>,
T: 'a,
Self: Sized + Into<StreamRc<'a, T>>,
ⓘImportant traits for IterAsync<'a, T>
fn iter_async<'b>(self) -> IterAsync<'b, T> where
Self: Sized + 'a,
T: 'a,
'a: 'b,
Self: Sized + 'a,
T: 'a,
'a: 'b,
fn to_parameter(self, initial: T) -> Parameter<'a, T> where
Self: Sized + 'a,
T: 'a,
Self: Sized + 'a,
T: 'a,
fn to_box(self) -> Box<dyn Stream<'a, T> + 'a> where
Self: Sized + 'a,
Self: Sized + 'a,
fn collect<'b>(self, samples: usize) -> Property<'b, Vec<T>> where
T: 'a,
'a: 'b,
Self: Sized,
T: 'a,
'a: 'b,
Self: Sized,
Implementations on Foreign Types
impl<'a, 'b, T: 'b + Debug + Clone, S: WithInner<'a, T> + StreamInner<'a, T>> Stream<'b, T> for &'b S where
'a: 'b,
[src]
impl<'a, 'b, T: 'b + Debug + Clone, S: WithInner<'a, T> + StreamInner<'a, T>> Stream<'b, T> for &'b S where
'a: 'b,
fn rc(self) -> StreamRc<'b, T>
[src]
fn rc(self) -> StreamRc<'b, T>
fn unique(self) -> Stream<'b, T>
[src]
fn unique(self) -> Stream<'b, T>
fn on_value<'b, F: FnMut(T) + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn on_value<'b, F: FnMut(T) + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn map<'b, 'c, T3: Debug + Clone, F: 'c + FnMut(T) -> T3>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
[src]
fn map<'b, 'c, T3: Debug + Clone, F: 'c + FnMut(T) -> T3>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
fn filter<'b, F: FnMut(&T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn filter<'b, F: FnMut(&T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn filter_by<'b, 'c>(self, p: Property<'c, bool>) -> Stream<'b, T> where
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
[src]
fn filter_by<'b, 'c>(self, p: Property<'c, bool>) -> Stream<'b, T> where
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
fn filter_map<'b, T3: Debug + Clone, F: FnMut(T) -> Option<T3> + 'b>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn filter_map<'b, T3: Debug + Clone, F: FnMut(T) -> Option<T3> + 'b>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn flat_map<'b, T3: Debug + Clone + 'b, F: FnMut(T) -> Stream<'b, T3> + 'b>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn flat_map<'b, T3: Debug + Clone + 'b, F: FnMut(T) -> Stream<'b, T3> + 'b>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn take<'b>(self, take: usize) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn take<'b>(self, take: usize) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn take_then<'b>(self, take: usize, then: T) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn take_then<'b>(self, take: usize, then: T) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn take_while<'b, F: FnMut(T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn take_while<'b, F: FnMut(T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn take_while_then<'b, F: FnMut(T) -> bool + 'b>(
self,
f: F,
then: T
) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn take_while_then<'b, F: FnMut(T) -> bool + 'b>(
self,
f: F,
then: T
) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn skip<'b>(self, skip: usize) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn skip<'b>(self, skip: usize) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn skip_while<'b, F: FnMut(T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn skip_while<'b, F: FnMut(T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn fold<'b, T3: Debug + Clone, F: FnMut(T3, T) -> T3 + 'b>(
self,
initial: T3,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn fold<'b, T3: Debug + Clone, F: FnMut(T3, T) -> T3 + 'b>(
self,
initial: T3,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn scan<'b, T2: Debug + Clone + 'b, T3: Debug + Clone + 'b, F: FnMut(&mut T2, T) -> Option<T3> + 'b>(
self,
initial: T2,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn scan<'b, T2: Debug + Clone + 'b, T3: Debug + Clone + 'b, F: FnMut(&mut T2, T) -> Option<T3> + 'b>(
self,
initial: T2,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn dedup<'b>(self) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
[src]
fn dedup<'b>(self) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
fn dedup_by<'b, F, T2>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
T2: PartialEq + 'b,
F: Fn(&T) -> T2 + 'b,
[src]
fn dedup_by<'b, F, T2>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
T2: PartialEq + 'b,
F: Fn(&T) -> T2 + 'b,
fn dedup_or<'b>(self, or: Property<'b, bool>) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
[src]
fn dedup_or<'b>(self, or: Property<'b, bool>) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
fn delay<'b>(self, delay: usize) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
[src]
fn delay<'b>(self, delay: usize) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
fn inspect<'b, F>(self, inspect: F) -> Stream<'b, T> where
T: 'b,
'a: 'b,
F: Fn(T) + 'b,
Self: Sized,
[src]
fn inspect<'b, F>(self, inspect: F) -> Stream<'b, T> where
T: 'b,
'a: 'b,
F: Fn(T) + 'b,
Self: Sized,
fn once<'b, T2>(self, once: T2) -> Stream<'b, T2> where
T2: Clone + Debug + 'b,
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn once<'b, T2>(self, once: T2) -> Stream<'b, T2> where
T2: Clone + Debug + 'b,
T: 'a,
'a: 'b,
Self: Sized,
fn merge<'b, 'c, S: Stream<'b, T>>(self, other: S) -> Stream<'c, T> where
T: 'c,
'a: 'c,
'b: 'c,
Self: Sized,
[src]
fn merge<'b, 'c, S: Stream<'b, T>>(self, other: S) -> Stream<'c, T> where
T: 'c,
'a: 'c,
'b: 'c,
Self: Sized,
fn throttle<'c>(self, fps: f32) -> Stream<'c, T> where
T: 'a,
'a: 'c,
Self: Sized,
[src]
fn throttle<'c>(self, fps: f32) -> Stream<'c, T> where
T: 'a,
'a: 'c,
Self: Sized,
fn benchmark<'b, 'c, F, S: Stream<'b, F>>(
self,
frame_stream: S
) -> (Stream<'c, T>, Stream<'c, Duration>) where
T: 'a,
'a: 'c,
'b: 'c,
F: Clone + Debug + 'a + 'b,
Self: Sized,
[src]
fn benchmark<'b, 'c, F, S: Stream<'b, F>>(
self,
frame_stream: S
) -> (Stream<'c, T>, Stream<'c, Duration>) where
T: 'a,
'a: 'c,
'b: 'c,
F: Clone + Debug + 'a + 'b,
Self: Sized,
fn bandpass<'b>(self, alpha: T) -> Stream<'b, T> where
T: 'a + Zero + One + Sub<Output = T> + Add<Output = T> + Mul<Output = T> + Clone,
'a: 'b,
Self: Sized,
[src]
fn bandpass<'b>(self, alpha: T) -> Stream<'b, T> where
T: 'a + Zero + One + Sub<Output = T> + Add<Output = T> + Mul<Output = T> + Clone,
'a: 'b,
Self: Sized,
fn resolution<'b>(self, resolution: u8) -> Stream<'b, T> where
T: 'a + Div<Output = T> + Mul<Output = T> + Float,
'a: 'b,
Self: Sized,
[src]
fn resolution<'b>(self, resolution: u8) -> Stream<'b, T> where
T: 'a + Div<Output = T> + Mul<Output = T> + Float,
'a: 'b,
Self: Sized,
fn to_bool<'b>(self) -> Stream<'b, bool> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn to_bool<'b>(self) -> Stream<'b, bool> where
T: 'a,
'a: 'b,
Self: Sized,
fn until<'b, 'c, T2: Clone + Debug + 'b, S: Stream<'b, T2>>(
self,
until: S
) -> Stream<'c, bool> where
Self: Sized,
T: 'a,
'a: 'c,
'b: 'c,
[src]
fn until<'b, 'c, T2: Clone + Debug + 'b, S: Stream<'b, T2>>(
self,
until: S
) -> Stream<'c, bool> where
Self: Sized,
T: 'a,
'a: 'c,
'b: 'c,
fn to_property<'b>(self, initial: T) -> Property<'a, T> where
T: 'a,
Self: Sized + Into<StreamRc<'a, T>>,
[src]
fn to_property<'b>(self, initial: T) -> Property<'a, T> where
T: 'a,
Self: Sized + Into<StreamRc<'a, T>>,
ⓘImportant traits for IterAsync<'a, T>fn iter_async<'b>(self) -> IterAsync<'b, T> where
Self: Sized + 'a,
T: 'a,
'a: 'b,
[src]
ⓘImportant traits for IterAsync<'a, T>
fn iter_async<'b>(self) -> IterAsync<'b, T> where
Self: Sized + 'a,
T: 'a,
'a: 'b,
fn to_parameter(self, initial: T) -> Parameter<'a, T> where
Self: Sized + 'a,
T: 'a,
[src]
fn to_parameter(self, initial: T) -> Parameter<'a, T> where
Self: Sized + 'a,
T: 'a,
fn to_box(self) -> Box<dyn Stream<'a, T> + 'a> where
Self: Sized + 'a,
[src]
fn to_box(self) -> Box<dyn Stream<'a, T> + 'a> where
Self: Sized + 'a,
fn collect<'b>(self, samples: usize) -> Property<'b, Vec<T>> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn collect<'b>(self, samples: usize) -> Property<'b, Vec<T>> where
T: 'a,
'a: 'b,
Self: Sized,
Implementors
impl<'a, T2: Clone + Debug> Stream<'a, T2> for seitan::Stream<'a, T2>
[src]
impl<'a, T2: Clone + Debug> Stream<'a, T2> for seitan::Stream<'a, T2>
fn rc(self) -> StreamRc<'a, T2>
[src]
fn rc(self) -> StreamRc<'a, T2>
fn unique(self) -> Stream<'a, T2>
[src]
fn unique(self) -> Stream<'a, T2>
fn on_value<'b, F: FnMut(T) + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn on_value<'b, F: FnMut(T) + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn map<'b, 'c, T3: Debug + Clone, F: 'c + FnMut(T) -> T3>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
[src]
fn map<'b, 'c, T3: Debug + Clone, F: 'c + FnMut(T) -> T3>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
fn filter<'b, F: FnMut(&T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn filter<'b, F: FnMut(&T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn filter_by<'b, 'c>(self, p: Property<'c, bool>) -> Stream<'b, T> where
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
[src]
fn filter_by<'b, 'c>(self, p: Property<'c, bool>) -> Stream<'b, T> where
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
fn filter_map<'b, T3: Debug + Clone, F: FnMut(T) -> Option<T3> + 'b>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn filter_map<'b, T3: Debug + Clone, F: FnMut(T) -> Option<T3> + 'b>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn flat_map<'b, T3: Debug + Clone + 'b, F: FnMut(T) -> Stream<'b, T3> + 'b>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn flat_map<'b, T3: Debug + Clone + 'b, F: FnMut(T) -> Stream<'b, T3> + 'b>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn take<'b>(self, take: usize) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn take<'b>(self, take: usize) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn take_then<'b>(self, take: usize, then: T) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn take_then<'b>(self, take: usize, then: T) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn take_while<'b, F: FnMut(T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn take_while<'b, F: FnMut(T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn take_while_then<'b, F: FnMut(T) -> bool + 'b>(
self,
f: F,
then: T
) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn take_while_then<'b, F: FnMut(T) -> bool + 'b>(
self,
f: F,
then: T
) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn skip<'b>(self, skip: usize) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn skip<'b>(self, skip: usize) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn skip_while<'b, F: FnMut(T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn skip_while<'b, F: FnMut(T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn fold<'b, T3: Debug + Clone, F: FnMut(T3, T) -> T3 + 'b>(
self,
initial: T3,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn fold<'b, T3: Debug + Clone, F: FnMut(T3, T) -> T3 + 'b>(
self,
initial: T3,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn scan<'b, T2: Debug + Clone + 'b, T3: Debug + Clone + 'b, F: FnMut(&mut T2, T) -> Option<T3> + 'b>(
self,
initial: T2,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn scan<'b, T2: Debug + Clone + 'b, T3: Debug + Clone + 'b, F: FnMut(&mut T2, T) -> Option<T3> + 'b>(
self,
initial: T2,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn dedup<'b>(self) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
[src]
fn dedup<'b>(self) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
fn dedup_by<'b, F, T2>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
T2: PartialEq + 'b,
F: Fn(&T) -> T2 + 'b,
[src]
fn dedup_by<'b, F, T2>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
T2: PartialEq + 'b,
F: Fn(&T) -> T2 + 'b,
fn dedup_or<'b>(self, or: Property<'b, bool>) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
[src]
fn dedup_or<'b>(self, or: Property<'b, bool>) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
fn delay<'b>(self, delay: usize) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
[src]
fn delay<'b>(self, delay: usize) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
fn inspect<'b, F>(self, inspect: F) -> Stream<'b, T> where
T: 'b,
'a: 'b,
F: Fn(T) + 'b,
Self: Sized,
[src]
fn inspect<'b, F>(self, inspect: F) -> Stream<'b, T> where
T: 'b,
'a: 'b,
F: Fn(T) + 'b,
Self: Sized,
fn once<'b, T2>(self, once: T2) -> Stream<'b, T2> where
T2: Clone + Debug + 'b,
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn once<'b, T2>(self, once: T2) -> Stream<'b, T2> where
T2: Clone + Debug + 'b,
T: 'a,
'a: 'b,
Self: Sized,
fn merge<'b, 'c, S: Stream<'b, T>>(self, other: S) -> Stream<'c, T> where
T: 'c,
'a: 'c,
'b: 'c,
Self: Sized,
[src]
fn merge<'b, 'c, S: Stream<'b, T>>(self, other: S) -> Stream<'c, T> where
T: 'c,
'a: 'c,
'b: 'c,
Self: Sized,
fn throttle<'c>(self, fps: f32) -> Stream<'c, T> where
T: 'a,
'a: 'c,
Self: Sized,
[src]
fn throttle<'c>(self, fps: f32) -> Stream<'c, T> where
T: 'a,
'a: 'c,
Self: Sized,
fn benchmark<'b, 'c, F, S: Stream<'b, F>>(
self,
frame_stream: S
) -> (Stream<'c, T>, Stream<'c, Duration>) where
T: 'a,
'a: 'c,
'b: 'c,
F: Clone + Debug + 'a + 'b,
Self: Sized,
[src]
fn benchmark<'b, 'c, F, S: Stream<'b, F>>(
self,
frame_stream: S
) -> (Stream<'c, T>, Stream<'c, Duration>) where
T: 'a,
'a: 'c,
'b: 'c,
F: Clone + Debug + 'a + 'b,
Self: Sized,
fn bandpass<'b>(self, alpha: T) -> Stream<'b, T> where
T: 'a + Zero + One + Sub<Output = T> + Add<Output = T> + Mul<Output = T> + Clone,
'a: 'b,
Self: Sized,
[src]
fn bandpass<'b>(self, alpha: T) -> Stream<'b, T> where
T: 'a + Zero + One + Sub<Output = T> + Add<Output = T> + Mul<Output = T> + Clone,
'a: 'b,
Self: Sized,
fn resolution<'b>(self, resolution: u8) -> Stream<'b, T> where
T: 'a + Div<Output = T> + Mul<Output = T> + Float,
'a: 'b,
Self: Sized,
[src]
fn resolution<'b>(self, resolution: u8) -> Stream<'b, T> where
T: 'a + Div<Output = T> + Mul<Output = T> + Float,
'a: 'b,
Self: Sized,
fn to_bool<'b>(self) -> Stream<'b, bool> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn to_bool<'b>(self) -> Stream<'b, bool> where
T: 'a,
'a: 'b,
Self: Sized,
fn until<'b, 'c, T2: Clone + Debug + 'b, S: Stream<'b, T2>>(
self,
until: S
) -> Stream<'c, bool> where
Self: Sized,
T: 'a,
'a: 'c,
'b: 'c,
[src]
fn until<'b, 'c, T2: Clone + Debug + 'b, S: Stream<'b, T2>>(
self,
until: S
) -> Stream<'c, bool> where
Self: Sized,
T: 'a,
'a: 'c,
'b: 'c,
fn to_property<'b>(self, initial: T) -> Property<'a, T> where
T: 'a,
Self: Sized + Into<StreamRc<'a, T>>,
[src]
fn to_property<'b>(self, initial: T) -> Property<'a, T> where
T: 'a,
Self: Sized + Into<StreamRc<'a, T>>,
ⓘImportant traits for IterAsync<'a, T>fn iter_async<'b>(self) -> IterAsync<'b, T> where
Self: Sized + 'a,
T: 'a,
'a: 'b,
[src]
ⓘImportant traits for IterAsync<'a, T>
fn iter_async<'b>(self) -> IterAsync<'b, T> where
Self: Sized + 'a,
T: 'a,
'a: 'b,
fn to_parameter(self, initial: T) -> Parameter<'a, T> where
Self: Sized + 'a,
T: 'a,
[src]
fn to_parameter(self, initial: T) -> Parameter<'a, T> where
Self: Sized + 'a,
T: 'a,
fn to_box(self) -> Box<dyn Stream<'a, T> + 'a> where
Self: Sized + 'a,
[src]
fn to_box(self) -> Box<dyn Stream<'a, T> + 'a> where
Self: Sized + 'a,
fn collect<'b>(self, samples: usize) -> Property<'b, Vec<T>> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn collect<'b>(self, samples: usize) -> Property<'b, Vec<T>> where
T: 'a,
'a: 'b,
Self: Sized,
impl<'a, T2: Clone + Debug> Stream<'a, T2> for seitan::StreamRc<'a, T2>
[src]
impl<'a, T2: Clone + Debug> Stream<'a, T2> for seitan::StreamRc<'a, T2>
fn rc(self) -> Stream<'a, T2>
[src]
fn rc(self) -> Stream<'a, T2>
fn unique(self) -> Stream<'a, T2>
[src]
fn unique(self) -> Stream<'a, T2>
fn on_value<'b, F: FnMut(T) + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn on_value<'b, F: FnMut(T) + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn map<'b, 'c, T3: Debug + Clone, F: 'c + FnMut(T) -> T3>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
[src]
fn map<'b, 'c, T3: Debug + Clone, F: 'c + FnMut(T) -> T3>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
fn filter<'b, F: FnMut(&T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn filter<'b, F: FnMut(&T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn filter_by<'b, 'c>(self, p: Property<'c, bool>) -> Stream<'b, T> where
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
[src]
fn filter_by<'b, 'c>(self, p: Property<'c, bool>) -> Stream<'b, T> where
T: 'a,
'c: 'a,
'c: 'b,
'a: 'b,
Self: Sized,
fn filter_map<'b, T3: Debug + Clone, F: FnMut(T) -> Option<T3> + 'b>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn filter_map<'b, T3: Debug + Clone, F: FnMut(T) -> Option<T3> + 'b>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn flat_map<'b, T3: Debug + Clone + 'b, F: FnMut(T) -> Stream<'b, T3> + 'b>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn flat_map<'b, T3: Debug + Clone + 'b, F: FnMut(T) -> Stream<'b, T3> + 'b>(
self,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn take<'b>(self, take: usize) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn take<'b>(self, take: usize) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn take_then<'b>(self, take: usize, then: T) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn take_then<'b>(self, take: usize, then: T) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn take_while<'b, F: FnMut(T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn take_while<'b, F: FnMut(T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn take_while_then<'b, F: FnMut(T) -> bool + 'b>(
self,
f: F,
then: T
) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn take_while_then<'b, F: FnMut(T) -> bool + 'b>(
self,
f: F,
then: T
) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn skip<'b>(self, skip: usize) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn skip<'b>(self, skip: usize) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn skip_while<'b, F: FnMut(T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn skip_while<'b, F: FnMut(T) -> bool + 'b>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
fn fold<'b, T3: Debug + Clone, F: FnMut(T3, T) -> T3 + 'b>(
self,
initial: T3,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn fold<'b, T3: Debug + Clone, F: FnMut(T3, T) -> T3 + 'b>(
self,
initial: T3,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn scan<'b, T2: Debug + Clone + 'b, T3: Debug + Clone + 'b, F: FnMut(&mut T2, T) -> Option<T3> + 'b>(
self,
initial: T2,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn scan<'b, T2: Debug + Clone + 'b, T3: Debug + Clone + 'b, F: FnMut(&mut T2, T) -> Option<T3> + 'b>(
self,
initial: T2,
f: F
) -> Stream<'b, T3> where
T: 'a,
'a: 'b,
Self: Sized,
fn dedup<'b>(self) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
[src]
fn dedup<'b>(self) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
fn dedup_by<'b, F, T2>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
T2: PartialEq + 'b,
F: Fn(&T) -> T2 + 'b,
[src]
fn dedup_by<'b, F, T2>(self, f: F) -> Stream<'b, T> where
T: 'a,
'a: 'b,
Self: Sized,
T2: PartialEq + 'b,
F: Fn(&T) -> T2 + 'b,
fn dedup_or<'b>(self, or: Property<'b, bool>) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
[src]
fn dedup_or<'b>(self, or: Property<'b, bool>) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
fn delay<'b>(self, delay: usize) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
[src]
fn delay<'b>(self, delay: usize) -> Stream<'b, T> where
T: 'a + PartialEq,
'a: 'b,
Self: Sized,
fn inspect<'b, F>(self, inspect: F) -> Stream<'b, T> where
T: 'b,
'a: 'b,
F: Fn(T) + 'b,
Self: Sized,
[src]
fn inspect<'b, F>(self, inspect: F) -> Stream<'b, T> where
T: 'b,
'a: 'b,
F: Fn(T) + 'b,
Self: Sized,
fn once<'b, T2>(self, once: T2) -> Stream<'b, T2> where
T2: Clone + Debug + 'b,
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn once<'b, T2>(self, once: T2) -> Stream<'b, T2> where
T2: Clone + Debug + 'b,
T: 'a,
'a: 'b,
Self: Sized,
fn merge<'b, 'c, S: Stream<'b, T>>(self, other: S) -> Stream<'c, T> where
T: 'c,
'a: 'c,
'b: 'c,
Self: Sized,
[src]
fn merge<'b, 'c, S: Stream<'b, T>>(self, other: S) -> Stream<'c, T> where
T: 'c,
'a: 'c,
'b: 'c,
Self: Sized,
fn throttle<'c>(self, fps: f32) -> Stream<'c, T> where
T: 'a,
'a: 'c,
Self: Sized,
[src]
fn throttle<'c>(self, fps: f32) -> Stream<'c, T> where
T: 'a,
'a: 'c,
Self: Sized,
fn benchmark<'b, 'c, F, S: Stream<'b, F>>(
self,
frame_stream: S
) -> (Stream<'c, T>, Stream<'c, Duration>) where
T: 'a,
'a: 'c,
'b: 'c,
F: Clone + Debug + 'a + 'b,
Self: Sized,
[src]
fn benchmark<'b, 'c, F, S: Stream<'b, F>>(
self,
frame_stream: S
) -> (Stream<'c, T>, Stream<'c, Duration>) where
T: 'a,
'a: 'c,
'b: 'c,
F: Clone + Debug + 'a + 'b,
Self: Sized,
fn bandpass<'b>(self, alpha: T) -> Stream<'b, T> where
T: 'a + Zero + One + Sub<Output = T> + Add<Output = T> + Mul<Output = T> + Clone,
'a: 'b,
Self: Sized,
[src]
fn bandpass<'b>(self, alpha: T) -> Stream<'b, T> where
T: 'a + Zero + One + Sub<Output = T> + Add<Output = T> + Mul<Output = T> + Clone,
'a: 'b,
Self: Sized,
fn resolution<'b>(self, resolution: u8) -> Stream<'b, T> where
T: 'a + Div<Output = T> + Mul<Output = T> + Float,
'a: 'b,
Self: Sized,
[src]
fn resolution<'b>(self, resolution: u8) -> Stream<'b, T> where
T: 'a + Div<Output = T> + Mul<Output = T> + Float,
'a: 'b,
Self: Sized,
fn to_bool<'b>(self) -> Stream<'b, bool> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn to_bool<'b>(self) -> Stream<'b, bool> where
T: 'a,
'a: 'b,
Self: Sized,
fn until<'b, 'c, T2: Clone + Debug + 'b, S: Stream<'b, T2>>(
self,
until: S
) -> Stream<'c, bool> where
Self: Sized,
T: 'a,
'a: 'c,
'b: 'c,
[src]
fn until<'b, 'c, T2: Clone + Debug + 'b, S: Stream<'b, T2>>(
self,
until: S
) -> Stream<'c, bool> where
Self: Sized,
T: 'a,
'a: 'c,
'b: 'c,
fn to_property<'b>(self, initial: T) -> Property<'a, T> where
T: 'a,
Self: Sized + Into<StreamRc<'a, T>>,
[src]
fn to_property<'b>(self, initial: T) -> Property<'a, T> where
T: 'a,
Self: Sized + Into<StreamRc<'a, T>>,
ⓘImportant traits for IterAsync<'a, T>fn iter_async<'b>(self) -> IterAsync<'b, T> where
Self: Sized + 'a,
T: 'a,
'a: 'b,
[src]
ⓘImportant traits for IterAsync<'a, T>
fn iter_async<'b>(self) -> IterAsync<'b, T> where
Self: Sized + 'a,
T: 'a,
'a: 'b,
fn to_parameter(self, initial: T) -> Parameter<'a, T> where
Self: Sized + 'a,
T: 'a,
[src]
fn to_parameter(self, initial: T) -> Parameter<'a, T> where
Self: Sized + 'a,
T: 'a,
fn to_box(self) -> Box<dyn Stream<'a, T> + 'a> where
Self: Sized + 'a,
[src]
fn to_box(self) -> Box<dyn Stream<'a, T> + 'a> where
Self: Sized + 'a,
fn collect<'b>(self, samples: usize) -> Property<'b, Vec<T>> where
T: 'a,
'a: 'b,
Self: Sized,
[src]
fn collect<'b>(self, samples: usize) -> Property<'b, Vec<T>> where
T: 'a,
'a: 'b,
Self: Sized,