Struct xloop_wasm::Platform
source · pub struct Platform;Trait Implementations§
source§impl Platform for Platform
impl Platform for Platform
type Error = Error
type AppRef<'a> = AppRef<'a>
type AppHandle = AppHandle
type AppProxy = AppProxy
type WinRef<'a> = WinRef<'a>
type WinHandle = WinHandle
type WinRaw = WinRaw
type EvtMouse<'a> = WinMouse<'a>
type EvtWheel<'a> = WinWheel<'a>
type EvtKey<'a> = WinKey<'a>
type EvtTouch<'a> = WinTouch<'a>
type EvtCommit<'a> = &'a EvtCommit
fn run( delegate: impl AppDelegate<Self> + 'static, ) -> Result<Option<Self::AppHandle>, Self::Error>
fn win( _key: impl AsRef<str>, delegate: impl WinDelegate<Self> + 'static, ) -> Result<Self::WinHandle, Self::Error>
fn log(level: LevelFilter)
fn read(_path: impl AsRef<Path>) -> Option<Vec<u8>>
Auto Trait Implementations§
impl Freeze for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnwindSafe for Platform
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