pub struct LinuxFbDevice { /* private fields */ }Expand description
A framebuffer device of the kernel.
Implementations§
Trait Implementations§
Source§impl IFbDevice for LinuxFbDevice
Available on Linux only.
impl IFbDevice for LinuxFbDevice
Available on Linux only.
Source§fn get_var_screen_info(&self) -> Result<fb_var_screeninfo>
fn get_var_screen_info(&self) -> Result<fb_var_screeninfo>
FBIOGET_VSCREENINFO.Source§fn put_var_screen_info(&mut self, info: &fb_var_screeninfo) -> Result<()>
fn put_var_screen_info(&mut self, info: &fb_var_screeninfo) -> Result<()>
FBIOPUT_VSCREENINFO.Source§fn get_fix_screen_info(&self) -> Result<fb_fix_screeninfo>
fn get_fix_screen_info(&self) -> Result<fb_fix_screeninfo>
FBIOGET_FSCREENINFO.Source§fn map(&self, length: usize) -> Result<FbMapping>
fn map(&self, length: usize) -> Result<FbMapping>
Maps
length bytes of the device’s memory for reading and writing.Source§fn wait_for_vsync(&self)
fn wait_for_vsync(&self)
FBIO_WAITFORVSYNC; a device without it returns at once.Auto Trait Implementations§
impl Freeze for LinuxFbDevice
impl RefUnwindSafe for LinuxFbDevice
impl Send for LinuxFbDevice
impl Sync for LinuxFbDevice
impl Unpin for LinuxFbDevice
impl UnsafeUnpin for LinuxFbDevice
impl UnwindSafe for LinuxFbDevice
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