pub struct Platform;Expand description
The iOS platform.
Implementations§
Source§impl Platform
impl Platform
Sourcepub fn options() -> Option<Rc<IosPlatformOptions>>
pub fn options() -> Option<Rc<IosPlatformOptions>>
The options the platform was registered with.
Sourcepub fn graphics() -> Option<Arc<dyn IPlatformGraphics>>
pub fn graphics() -> Option<Arc<dyn IPlatformGraphics>>
The graphics of the platform.
Sourcepub fn rendering_mode() -> Option<IosRenderingMode>
pub fn rendering_mode() -> Option<IosRenderingMode>
The rendering mode of the graphics of the platform: the first mode of the options that could be applied. An addition of the port, for an application that tests itself.
Sourcepub fn timer() -> Option<Arc<DisplayLinkTimer>>
pub fn timer() -> Option<Arc<DisplayLinkTimer>>
The render timer of the platform.
Auto Trait Implementations§
impl Freeze for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnsafeUnpin for Platform
impl UnwindSafe for Platform
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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