pub struct UserInterface { /* private fields */ }

Implementations§

source§

impl UserInterface

source

pub fn new(setup_application: fn(_: &mut Application)) -> Self

source

pub fn iter(&self) -> impl Iterator<Item = (&str, &ApplicationData)>

source

pub fn iter_mut(&mut self) -> impl Iterator<Item = (&str, &mut ApplicationData)>

source

pub fn get(&self, app_id: &str) -> Option<&ApplicationData>

source

pub fn get_mut(&mut self, app_id: &str) -> Option<&mut ApplicationData>

source

pub fn application(&self, app_id: &str) -> Option<&Application>

source

pub fn application_mut(&mut self, app_id: &str) -> Option<&mut Application>

source

pub fn interactions(&self, app_id: &str) -> Option<&DefaultInteractionsEngine>

source

pub fn interactions_mut( &mut self, app_id: &str ) -> Option<&mut DefaultInteractionsEngine>

source

pub fn coords_mapping(&self, app_id: &str) -> Option<&CoordsMapping>

source

pub fn coords_mapping_mut(&mut self, app_id: &str) -> Option<&mut CoordsMapping>

source

pub fn signals_received(&self, app_id: &str) -> Option<&[Signal]>

source

pub fn all_signals_received(&self) -> impl Iterator<Item = (&str, &Signal)>

source

pub fn has_layout_widget(&self, app_id: &str, id: &str) -> bool

Trait Implementations§

source§

impl Default for UserInterface

source§

fn default() -> UserInterface

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Finalize for T

§

unsafe fn finalize_raw(data: *mut ())

Safety Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Initialize for Twhere T: Default,

§

fn initialize(&mut self)

§

unsafe fn initialize_raw(data: *mut ())

Safety Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Component for Twhere T: Send + Sync + 'static,