pub struct BrowserRuntimePlatform { /* private fields */ }Expand description
The runtime platform of the browser: the kind of device comes from the page.
Trait Implementations§
Source§impl Default for BrowserRuntimePlatform
impl Default for BrowserRuntimePlatform
Source§impl IRuntimePlatform for BrowserRuntimePlatform
impl IRuntimePlatform for BrowserRuntimePlatform
Source§fn get_runtime_info(&self) -> RuntimePlatformInfo
fn get_runtime_info(&self) -> RuntimePlatformInfo
Information about the platform the application runs on.
Source§fn get_utc_now(&self) -> DateTime
fn get_utc_now(&self) -> DateTime
The current date and time in UTC, read by
DateTime::utc_now. The
default is for a platform without a wall clock: it reports the Unix
epoch, 1970-01-01T00:00:00 UTC.Auto Trait Implementations§
impl Freeze for BrowserRuntimePlatform
impl RefUnwindSafe for BrowserRuntimePlatform
impl Send for BrowserRuntimePlatform
impl Sync for BrowserRuntimePlatform
impl Unpin for BrowserRuntimePlatform
impl UnsafeUnpin for BrowserRuntimePlatform
impl UnwindSafe for BrowserRuntimePlatform
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