Struct flo_binding::binding_context::BindingDependencies [−][src]
pub struct BindingDependencies { /* fields omitted */ }
Represents the dependencies of a binding context
Methods
impl BindingDependencies
[src]
impl BindingDependencies
pub fn new() -> BindingDependencies
[src]
pub fn new() -> BindingDependencies
Creates a new binding dependencies object
pub fn add_dependency<TChangeable: Changeable + 'static>(
&mut self,
dependency: TChangeable
)
[src]
pub fn add_dependency<TChangeable: Changeable + 'static>(
&mut self,
dependency: TChangeable
)
Adds a new dependency to this object
pub fn when_changed_if_unchanged(
&self,
what: Arc<Notifiable>
) -> Option<Box<Releasable>>
[src]
pub fn when_changed_if_unchanged(
&self,
what: Arc<Notifiable>
) -> Option<Box<Releasable>>
If the dependencies have not changed since they were registered, registers for changes
and returns a Releasable
. If the dependencies are already different, returns None
.
Trait Implementations
impl Clone for BindingDependencies
[src]
impl Clone for BindingDependencies
fn clone(&self) -> BindingDependencies
[src]
fn clone(&self) -> BindingDependencies
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Changeable for BindingDependencies
[src]
impl Changeable for BindingDependencies
fn when_changed(&self, what: Arc<Notifiable>) -> Box<Releasable>
[src]
fn when_changed(&self, what: Arc<Notifiable>) -> Box<Releasable>
Supplies a function to be notified when this item is changed Read more
Auto Trait Implementations
impl !Send for BindingDependencies
impl !Send for BindingDependencies
impl !Sync for BindingDependencies
impl !Sync for BindingDependencies