pub struct Core;Expand description
The system background engine manager.
Core handles the lifecycle of the platform’s native event loop.
§Example
use raw_input::Core;
// Initialize and start the background event loop
std::thread::spawn(|| {
Core::start().expect("Failed to start raw-input core");
});Auto Trait Implementations§
impl Freeze for Core
impl RefUnwindSafe for Core
impl Send for Core
impl Sync for Core
impl Unpin for Core
impl UnwindSafe for Core
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