pub struct SimulatorBackend { /* private fields */ }Implementations§
Source§impl SimulatorBackend
impl SimulatorBackend
pub fn new() -> Self
Sourcepub async fn _untested_tauri_fallback_trigger(&self, raw: SimulatorRawGesture)
pub async fn _untested_tauri_fallback_trigger(&self, raw: SimulatorRawGesture)
Helper for testing environment simulating Tauri invoke fallback.
Trait Implementations§
Source§impl Default for SimulatorBackend
impl Default for SimulatorBackend
Source§impl RingBackend for SimulatorBackend
impl RingBackend for SimulatorBackend
fn connect<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn subscribe_to_gestures<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Receiver<Gesture>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_haptic<'life0, 'async_trait>(
&'life0 self,
pattern: HapticPattern,
intensity: f32,
duration_ms: u32,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_status<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = DeviceStatus> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for SimulatorBackend
impl !RefUnwindSafe for SimulatorBackend
impl Send for SimulatorBackend
impl Sync for SimulatorBackend
impl Unpin for SimulatorBackend
impl !UnwindSafe for SimulatorBackend
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