pub struct LinuxFramebufferPlatformOptions {
pub fps: i32,
pub should_render_on_ui_thread: bool,
}Expand description
Platform-specific options which apply to the Linux framebuffer.
Fields§
§fps: i32Gets or sets the number of frames per second at which the renderer should run. Default 60.
should_render_on_ui_thread: boolRender directly on the UI thread instead of using a dedicated render thread. This can be usable if your device don’t have multiple cores to begin with. This setting is false by default.
Trait Implementations§
impl Copy for LinuxFramebufferPlatformOptions
impl Eq for LinuxFramebufferPlatformOptions
impl StructuralPartialEq for LinuxFramebufferPlatformOptions
Auto Trait Implementations§
impl Freeze for LinuxFramebufferPlatformOptions
impl RefUnwindSafe for LinuxFramebufferPlatformOptions
impl Send for LinuxFramebufferPlatformOptions
impl Sync for LinuxFramebufferPlatformOptions
impl Unpin for LinuxFramebufferPlatformOptions
impl UnsafeUnpin for LinuxFramebufferPlatformOptions
impl UnwindSafe for LinuxFramebufferPlatformOptions
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