fn new_weak(&self) -> Self {
    let subscribers = match self.subscribers {
      DependentStreams::Own(ref rc) => DependentStreams::Weak(Rc::downgrade(rc)),
      DependentStreams::Weak(ref weak) => DependentStreams::Weak(weak.clone()),
    };

    Stream { subscribers }
  }
/// Create new, non-owning version of this stream.
Create new, non-owning version of this stream.
Create new non - owning version of this stream .
fn new_weak(&self) -> Self {
    let subscribers = match self.subscribers {
      DependentStreams::Own(ref rc) => DependentStreams::Weak(Rc::downgrade(rc)),
      DependentStreams::Weak(ref weak) => DependentStreams::Weak(weak.clone()),
    };
    Stream { subscribers }
  }
fn new_weak ( & self ) -> Self { let subscribers = match self . subscribers { DependentStreams :: Own ( ref rc ) => DependentStreams :: Weak ( Rc :: downgrade ( rc ) ) , DependentStreams :: Weak ( ref weak ) => DependentStreams :: Weak ( weak . clone ( ) ) , } ; Stream { subscribers } }
Create new, non-owning version of this stream.
Create new non - owning version of this stream .
&self
&self