Struct raui::prelude::DefaultInteractionsEngine [−][src]
Single pointer + Keyboard + Gamepad
Fields
Implementations
impl DefaultInteractionsEngine
[src]
pub fn new() -> DefaultInteractionsEngine
[src]
pub fn with_capacity(
interactions_queue: usize,
containers: usize,
buttons: usize,
text_inputs: usize,
selected_chain: usize
) -> DefaultInteractionsEngine
[src]
interactions_queue: usize,
containers: usize,
buttons: usize,
text_inputs: usize,
selected_chain: usize
) -> DefaultInteractionsEngine
pub fn selected_chain(&self) -> &[WidgetId]
[src]
pub fn selected_item(&self) -> Option<&WidgetId>
[src]
pub fn selected_container(&self) -> Option<&WidgetId>
[src]
pub fn selected_button(&self) -> Option<&WidgetId>
[src]
pub fn focused_text_input(&self) -> Option<&WidgetId>
[src]
pub fn interact(&mut self, interaction: Interaction)
[src]
pub fn clear_queue(&mut self, put_unselect: bool)
[src]
Trait Implementations
impl Debug for DefaultInteractionsEngine
[src]
impl Default for DefaultInteractionsEngine
[src]
pub fn default() -> DefaultInteractionsEngine
[src]
impl InteractionsEngine<DefaultInteractionsEngineResult, ()> for DefaultInteractionsEngine
[src]
pub fn perform_interactions(
&mut self,
app: &mut Application
) -> Result<DefaultInteractionsEngineResult, ()>
[src]
&mut self,
app: &mut Application
) -> Result<DefaultInteractionsEngineResult, ()>
Auto Trait Implementations
impl RefUnwindSafe for DefaultInteractionsEngine
impl Send for DefaultInteractionsEngine
impl Sync for DefaultInteractionsEngine
impl Unpin for DefaultInteractionsEngine
impl UnwindSafe for DefaultInteractionsEngine
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,