Struct AbstractBinding
pub struct AbstractBinding(/* private fields */);Expand description
AbstractBinding is the base class for binding classes.
A binding is a relation between two property values. In most cases, this means a relation between a property in a source node or render pass, and a target property in the node or render pass to which the binding is set.
Bindings can also bind values from sources other than object properties and write to other targets. The relationship is abstracted into binding sources and targets.
Implementations§
§impl AbstractBinding
impl AbstractBinding
§impl AbstractBinding
impl AbstractBinding
pub fn add_processor(
&self,
binding_processor: &BindingProcessor,
) -> Result<(), Error>
pub fn add_processor( &self, binding_processor: &BindingProcessor, ) -> Result<(), Error>
Adds binding processor.
pub fn remove_processor(
&self,
binding_processor: &BindingProcessor,
) -> Result<(), Error>
pub fn remove_processor( &self, binding_processor: &BindingProcessor, ) -> Result<(), Error>
Removes binding processor.
Trait Implementations§
§impl Inheritable for AbstractBinding
impl Inheritable for AbstractBinding
§unsafe fn downcast_unchecked<T>(self) -> Twhere
T: Inherits<Self>,
unsafe fn downcast_unchecked<T>(self) -> Twhere
T: Inherits<Self>,
Downcast the object to a more specific type. Read more
§unsafe fn downcast_unchecked_ref<T>(&self) -> &Twhere
T: Inherits<Self>,
unsafe fn downcast_unchecked_ref<T>(&self) -> &Twhere
T: Inherits<Self>,
Downcast the object reference to a more specific type. Read more
§impl Inherits<AbstractBinding> for Binding
impl Inherits<AbstractBinding> for Binding
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<AbstractBinding> for ToSourceBinding
impl Inherits<AbstractBinding> for ToSourceBinding
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
§impl Inherits<AbstractBinding> for TwoWayBinding
impl Inherits<AbstractBinding> for TwoWayBinding
fn upcast(self) -> Base
fn upcast_ref(&self) -> &Base
Auto Trait Implementations§
impl Freeze for AbstractBinding
impl RefUnwindSafe for AbstractBinding
impl !Send for AbstractBinding
impl !Sync for AbstractBinding
impl Unpin for AbstractBinding
impl UnwindSafe for AbstractBinding
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