pub struct StreamBinding<Value: Send> { /* private fields */ }Expand description
Binding that represents the result of binding a stream to a value
Trait Implementations§
Source§impl<Value: 'static + Send> Changeable for StreamBinding<Value>
impl<Value: 'static + Send> Changeable for StreamBinding<Value>
Source§fn when_changed(&self, what: Arc<dyn Notifiable>) -> Box<dyn Releasable>
fn when_changed(&self, what: Arc<dyn Notifiable>) -> Box<dyn Releasable>
Supplies a function to be notified when this item is changed
Source§impl<Value: Clone + Send> Clone for StreamBinding<Value>
impl<Value: Clone + Send> Clone for StreamBinding<Value>
Source§fn clone(&self) -> StreamBinding<Value>
fn clone(&self) -> StreamBinding<Value>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<Value> Freeze for StreamBinding<Value>
impl<Value> !RefUnwindSafe for StreamBinding<Value>
impl<Value> Send for StreamBinding<Value>
impl<Value> Sync for StreamBinding<Value>
impl<Value> Unpin for StreamBinding<Value>
impl<Value> !UnwindSafe for StreamBinding<Value>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<TBinding> BoundValueComputeExt for TBinding
impl<TBinding> BoundValueComputeExt for TBinding
Source§impl<TBinding> BoundValueMapExt for TBinding
impl<TBinding> BoundValueMapExt for TBinding
type Value = <TBinding as Bound>::Value
Source§fn map_binding<TMapValue, TMapFn>(
&self,
map_fn: TMapFn,
) -> MapBinding<TBinding, TMapValue, TMapFn>
fn map_binding<TMapValue, TMapFn>( &self, map_fn: TMapFn, ) -> MapBinding<TBinding, TMapValue, TMapFn>
Transforms the value of this binding using a mapping function Read more