Struct makepad_widgets::data_binding::DataBindingMap
source · pub struct DataBindingMap<'a> {
pub store: &'a mut DataBindingStore,
pub debug_missing: bool,
pub cx: &'a mut Cx,
pub actions: &'a WidgetActions,
pub ui: &'a WidgetRef,
/* private fields */
}
Fields§
§store: &'a mut DataBindingStore
§debug_missing: bool
§cx: &'a mut Cx
§actions: &'a WidgetActions
§ui: &'a WidgetRef
Implementations§
source§impl<'a> DataBindingMap<'a>
impl<'a> DataBindingMap<'a>
pub fn with_debug_missing(self) -> Self
pub fn is_data_to_widgets(&self) -> bool
pub fn is_widgets_to_data(&self) -> bool
pub fn bind(&mut self, data_id: &[LiveId], widgets: &[&[LiveId]])
pub fn apply<F>(&mut self, data: &[LiveId], widget_val: &[&[LiveId]; 2], map: F)where F: FnOnce(LiveValue) -> LiveValue,
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DataBindingMap<'a>
impl<'a> !Send for DataBindingMap<'a>
impl<'a> !Sync for DataBindingMap<'a>
impl<'a> Unpin for DataBindingMap<'a>
impl<'a> !UnwindSafe for DataBindingMap<'a>
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