Struct rin::events::Stream[][src]

#[must_use = "droping a stream unsubscribes it and all the chain until the origin sender"]
pub struct Stream<'a, T2> { /* fields omitted */ }

Implementations

impl<'a, T2> Stream<'a, T2>[src]

pub fn from_parent<'p, T1, S, Inner>(
    parent: S,
    inner: Rc<UnsafeCell<Inner>>
) -> Stream<'a, T2> where
    Inner: 'a + StreamInner<'a, T2> + SinkInner<'a, T1>,
    S: StreamExt<'p, T1>, 
[src]

pub fn from_remove<T1, S, Inner>(
    remove: S,
    inner: Rc<UnsafeCell<Inner>>
) -> Stream<'a, T2> where
    Inner: 'a + StreamInner<'a, T2> + SinkInner<'a, T1>,
    S: 'a + Remove, 
[src]

pub fn new<Inner>(inner: Rc<UnsafeCell<Inner>>) -> Stream<'a, T2> where
    Inner: 'a + StreamInner<'a, T2>, 
[src]

pub fn send(&self, t: T2)[src]

pub fn on_drop(self, value: T2) -> Stream<'a, T2>[src]

impl<'a, T2> Stream<'a, T2> where
    T2: 'a, 
[src]

pub fn never() -> Stream<'a, T2>[src]

pub fn merge_all<'b, S, I>(streams: I) -> Stream<'a, T2> where
    I: IntoIterator<Item = S>,
    S: StreamExt<'b, T2>, 
[src]

impl<'a, T2> Stream<'a, T2> where
    T2: 'a + Clone
[src]

pub fn connect_to_property<'c>(
    self,
    property: &mut Property<'a, T2>
) -> Stream<'a, T2> where
    T2: 'c,
    Stream<'a, T2>: Sized
[src]

pub fn connect_to_property_last_value<'c>(
    self,
    property: &mut PropertyLastValue<'a, T2>
) -> Stream<'a, T2> where
    T2: 'c,
    Stream<'a, T2>: Sized
[src]

pub fn swap_parent<S>(&mut self, parent: S) where
    S: StreamExt<'a, T2>, 
[src]

impl<'a> Stream<'a, f64>[src]

pub fn connect_to_ranged_parameter_pct<T, R>(
    self,
    param: &mut RangedPropertyMut<'a, T, R>
) -> Stream<'a, T> where
    T: Clone + FromPrimitive + ToPrimitive,
    R: Sub<R, Output = R> + ToPrimitive + Clone + 'static, 
[src]

impl<'a> Stream<'a, bool>[src]

pub fn not<'b>(self) -> Stream<'b, bool> where
    'a: 'b, 
[src]

pub fn and_then<T, S>(self, then: S) -> Stream<'a, T> where
    T: 'a,
    S: StreamExt<'a, T>, 
[src]

pub fn switch<T, S>(self, then: S, else_: S) -> Stream<'a, T> where
    T: 'a + Clone,
    S: StreamExt<'a, T>, 
[src]

Trait Implementations

impl<'a, T2> Drop for Stream<'a, T2>[src]

impl<'a, T> From<Stream<'a, T>> for StreamRc<'a, T> where
    T: 'a + Clone
[src]

impl<'a, T> From<StreamRc<'a, T>> for Stream<'a, T> where
    T: 'a, 
[src]

impl<'a> Not for Stream<'a, bool>[src]

type Output = Stream<'a, bool>

The resulting type after applying the ! operator.

impl<'a, T2> StreamExt<'a, T2> for Stream<'a, T2> where
    T2: 'a, 
[src]

Auto Trait Implementations

impl<'a, T2> !RefUnwindSafe for Stream<'a, T2>

impl<'a, T2> !Send for Stream<'a, T2>

impl<'a, T2> !Sync for Stream<'a, T2>

impl<'a, T2> Unpin for Stream<'a, T2> where
    T2: Unpin

impl<'a, T2> !UnwindSafe for Stream<'a, T2>

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<T> Downcast for T where
    T: Any
[src]

impl<'a, S> Events<'a> for S where
    S: StreamExt<'a, Event>, 
[src]

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

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

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<'a, S> KeyEvents<'a> for S where
    S: StreamExt<'a, KeyEvent>, 
[src]

impl<'a, S> MouseButtonEvents<'a> for S where
    S: StreamExt<'a, (Point<f64, U2>, MouseButton)>, 
[src]

impl<'a, S> MouseEvents<'a> for S where
    S: StreamExt<'a, MouseEvent>, 
[src]

impl<'a, S> MouseMovedEvents<'a> for S where
    S: StreamExt<'a, Point<f64, U2>>, 
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<'a, S> WindowEvents<'a> for S where
    S: StreamExt<'a, WindowEvent>, 
[src]