[][src]Struct shine_input::Manager

pub struct Manager { /* fields omitted */ }

Methods

impl Manager[src]

pub fn new() -> Manager[src]

pub fn add_guesture<S: ToString>(
    &mut self,
    name: S,
    guesture: Box<dyn Guesture>
)
[src]

pub fn get_guesture<S: ToString>(&self, name: S) -> Option<&dyn Guesture>[src]

pub fn get_guesture_mut<S: ToString>(
    &mut self,
    name: S
) -> Option<&mut dyn Guesture>
[src]

pub fn add_modifier_mapping(
    &mut self,
    input_event: InputMapping,
    modifier_id: ModifierId
)
[src]

pub fn add_button_mapping(
    &mut self,
    input_event: InputMapping,
    input_modifiers: Option<ModifierFilterMask>,
    button_id: ButtonId,
    sensitivity: f32
)
[src]

pub fn get_state(&self) -> &State[src]

pub fn prepare(&mut self)[src]

pub fn update(&mut self)[src]

pub fn handle_winit_events(&mut self, event: &Event)[src]

pub fn handle_gil_events(&mut self, event: &Event)[src]

Trait Implementations

impl Default for Manager[src]

Auto Trait Implementations

impl Send for Manager

impl Sync for Manager

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T