pub struct UserInterface { /* private fields */ }
Implementations§
Source§impl UserInterface
impl UserInterface
pub fn new(setup_application: fn(&mut Application)) -> Self
pub fn iter(&self) -> impl Iterator<Item = (&str, &ApplicationData)>
pub fn iter_mut(&mut self) -> impl Iterator<Item = (&str, &mut ApplicationData)>
pub fn get(&self, app_id: &str) -> Option<&ApplicationData>
pub fn get_mut(&mut self, app_id: &str) -> Option<&mut ApplicationData>
pub fn application(&self, app_id: &str) -> Option<&Application>
pub fn application_mut(&mut self, app_id: &str) -> Option<&mut Application>
pub fn interactions(&self, app_id: &str) -> Option<&DefaultInteractionsEngine>
pub fn interactions_mut( &mut self, app_id: &str, ) -> Option<&mut DefaultInteractionsEngine>
pub fn coords_mapping(&self, app_id: &str) -> Option<&CoordsMapping>
pub fn coords_mapping_mut(&mut self, app_id: &str) -> Option<&mut CoordsMapping>
pub fn signals_received(&self, app_id: &str) -> Option<&[Signal]>
pub fn all_signals_received(&self) -> impl Iterator<Item = (&str, &Signal)>
pub fn has_layout_widget(&self, app_id: &str, id: &str) -> bool
Trait Implementations§
Source§impl Default for UserInterface
impl Default for UserInterface
Source§fn default() -> UserInterface
fn default() -> UserInterface
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UserInterface
impl !RefUnwindSafe for UserInterface
impl Send for UserInterface
impl Sync for UserInterface
impl Unpin for UserInterface
impl !UnwindSafe for UserInterface
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