Struct rin::events::StreamRc[][src]

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

Implementations

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

pub fn from_parent<'p, T1, S, Inner>(
    parent: S,
    inner: Rc<UnsafeCell<Inner>>
) -> StreamRc<'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>>
) -> StreamRc<'a, T2> where
    Inner: 'a + StreamInner<'a, T2> + SinkInner<'a, T1>,
    S: 'a + Remove, 
[src]

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

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

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

pub fn by_ref(&self) -> &StreamRc<'a, T2> where
    StreamRc<'a, T2>: Sized
[src]

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

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

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

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

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

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

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

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

impl<'a> StreamRc<'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 + Clone,
    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> Clone for StreamRc<'a, T2>[src]

impl<'a, T2> Drop for StreamRc<'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 StreamRc<'a, bool>[src]

type Output = Stream<'a, bool>

The resulting type after applying the ! operator.

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

Auto Trait Implementations

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

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

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

impl<'a, T2> Unpin for StreamRc<'a, T2>

impl<'a, T2> !UnwindSafe for StreamRc<'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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]