Struct oxygengine_user_interface::resource::UserInterface
source · 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 !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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more