pub struct WebPlatform { /* private fields */ }Implementations§
Source§impl WebPlatform
impl WebPlatform
pub fn new(scale_factor: f64) -> Self
pub fn set_scale_factor(&mut self, factor: f64)
pub fn pointer_position(&self, x: f64, y: f64) -> Point
pub fn pointer_event( &self, kind: PointerEventKind, x: f64, y: f64, ) -> PointerEvent
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WebPlatform
impl RefUnwindSafe for WebPlatform
impl Send for WebPlatform
impl Sync for WebPlatform
impl Unpin for WebPlatform
impl UnwindSafe for WebPlatform
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