pub struct FbDevOutputOptions {
pub file_name: Option<String>,
pub pixel_format: Option<PixelFormat>,
pub render_directly_to_mapped_memory: bool,
pub scaling: f64,
pub use_async_front_buffer_blit: Option<bool>,
}Expand description
FbDev output options.
Fields§
§file_name: Option<String>The frame buffer device name. Defaults to the value in the environment variable FRAMEBUFFER, or /dev/fb0 when FRAMEBUFFER is not set.
pixel_format: Option<PixelFormat>The desired pixel format. When not set the format of the device is used.
render_directly_to_mapped_memory: boolRender directly to the mapped memory of the device instead of to a back buffer that is copied after the vertical sync.
scaling: f64The initial scale factor to use.
use_async_front_buffer_blit: Option<bool>When true, the wait for the vertical sync and the copy that follows
run on a dedicated thread, saving the rendering thread from a
blocking wait. Only has an effect when
render_directly_to_mapped_memory is false.
Trait Implementations§
Source§impl Clone for FbDevOutputOptions
impl Clone for FbDevOutputOptions
Source§impl Debug for FbDevOutputOptions
impl Debug for FbDevOutputOptions
Source§impl Default for FbDevOutputOptions
impl Default for FbDevOutputOptions
Source§impl PartialEq for FbDevOutputOptions
impl PartialEq for FbDevOutputOptions
impl StructuralPartialEq for FbDevOutputOptions
Auto Trait Implementations§
impl Freeze for FbDevOutputOptions
impl RefUnwindSafe for FbDevOutputOptions
impl Send for FbDevOutputOptions
impl Sync for FbDevOutputOptions
impl Unpin for FbDevOutputOptions
impl UnsafeUnpin for FbDevOutputOptions
impl UnwindSafe for FbDevOutputOptions
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