pub struct NullInputBackend;Implementations§
Trait Implementations§
Source§impl Default for NullInputBackend
impl Default for NullInputBackend
Source§impl IInputBackend for NullInputBackend
impl IInputBackend for NullInputBackend
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)>, )
Starts the backend.
on_input is called on the UI thread, where
raw input events live (the reference calls it on the thread of the
backend and the top-level posts the event).fn set_input_root(&self, _root: Rc<dyn IInputRoot>)
Auto Trait Implementations§
impl Freeze for NullInputBackend
impl RefUnwindSafe for NullInputBackend
impl Send for NullInputBackend
impl Sync for NullInputBackend
impl Unpin for NullInputBackend
impl UnsafeUnpin for NullInputBackend
impl UnwindSafe for NullInputBackend
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