pub struct Binding {
pub controller: u32,
pub config: Option<String>,
pub element: NodeId,
pub name: String,
}Expand description
A controller attached to an element of a dialog.
Fields§
§controller: u32The controller’s type id (CRC-32 of its class name).
config: Option<String>The controller’s configuration resource, if it has one.
element: NodeIdThe element it is attached to.
name: StringThe element’s name.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Binding
impl RefUnwindSafe for Binding
impl Send for Binding
impl Sync for Binding
impl Unpin for Binding
impl UnsafeUnpin for Binding
impl UnwindSafe for Binding
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