pub struct AndroidPlatformOptions {
pub rendering_mode: Vec<AndroidRenderingMode>,
}Expand description
The options of the Android platform, registered with the application
builder (AppBuilder::with).
Fields§
§rendering_mode: Vec<AndroidRenderingMode>Gets or sets the rendering modes with fallbacks.
The first element in the array has the highest priority.
The default value is: AndroidRenderingMode::Egl, AndroidRenderingMode::Software.
If the application should work on as wide a range of devices as
possible, at least add AndroidRenderingMode::Software as a
fallback value. The platform fails to initialize when no value was
matched.
Trait Implementations§
Source§impl Clone for AndroidPlatformOptions
impl Clone for AndroidPlatformOptions
Source§impl Debug for AndroidPlatformOptions
impl Debug for AndroidPlatformOptions
Source§impl Default for AndroidPlatformOptions
impl Default for AndroidPlatformOptions
impl Eq for AndroidPlatformOptions
Source§impl PartialEq for AndroidPlatformOptions
impl PartialEq for AndroidPlatformOptions
impl StructuralPartialEq for AndroidPlatformOptions
Auto Trait Implementations§
impl Freeze for AndroidPlatformOptions
impl RefUnwindSafe for AndroidPlatformOptions
impl Send for AndroidPlatformOptions
impl Sync for AndroidPlatformOptions
impl Unpin for AndroidPlatformOptions
impl UnsafeUnpin for AndroidPlatformOptions
impl UnwindSafe for AndroidPlatformOptions
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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