Struct raui_core::view_model::ViewModelBindings
source · pub struct ViewModelBindings { /* private fields */ }
Implementations§
source§impl ViewModelBindings
impl ViewModelBindings
pub fn bind(&mut self, id: WidgetId)
pub fn unbind(&mut self, id: &WidgetId)
pub fn clear(&mut self)
pub fn is_empty(&self) -> bool
pub fn is_bound(&self, id: &WidgetId) -> bool
pub fn widgets(&self) -> impl Iterator<Item = &WidgetId>
pub fn common_root(&self) -> &WidgetIdCommon
pub fn notify(&mut self)
pub fn is_notified(&self) -> bool
pub fn consume_notification(&mut self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ViewModelBindings
impl Send for ViewModelBindings
impl Sync for ViewModelBindings
impl Unpin for ViewModelBindings
impl UnwindSafe for ViewModelBindings
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