pub struct LibInputBackend { /* private fields */ }Implementations§
Source§impl LibInputBackend
impl LibInputBackend
pub fn new() -> Self
pub fn with_options(options: LibInputBackendOptions) -> Self
Trait Implementations§
Source§impl Default for LibInputBackend
impl Default for LibInputBackend
Source§impl IInputBackend for LibInputBackend
impl IInputBackend for LibInputBackend
Source§fn initialize(
&self,
screen: Rc<dyn IScreenInfoProvider>,
on_input: Rc<dyn Fn(RawEvent)>,
)
fn initialize( &self, screen: Rc<dyn IScreenInfoProvider>, on_input: Rc<dyn Fn(RawEvent)>, )
§Panics
Panics when the library cannot be loaded.
fn set_input_root(&self, root: Rc<dyn IInputRoot>)
Auto Trait Implementations§
impl !RefUnwindSafe for LibInputBackend
impl !Send for LibInputBackend
impl !Sync for LibInputBackend
impl !UnwindSafe for LibInputBackend
impl Freeze for LibInputBackend
impl Unpin for LibInputBackend
impl UnsafeUnpin for LibInputBackend
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more