#[repr(C)]pub struct FbFixScreenInfo {Show 15 fields
pub id: [u8; 16],
pub smem_start: usize,
pub smem_len: u32,
pub type_: u32,
pub type_aux: u32,
pub visual: u32,
pub xpanstep: u16,
pub ypanstep: u16,
pub ywrapstep: u16,
pub line_length: u32,
pub mmio_start: usize,
pub mmio_len: u32,
pub accel: u32,
pub capabilities: u16,
pub reserved: [u16; 2],
}Expand description
Fixed screen information structure (Linux fb_fix_screeninfo compatible)
Fields§
§id: [u8; 16]Identification string
smem_start: usizeStart of frame buffer memory (physical address)
smem_len: u32Length of frame buffer memory
type_: u32Framebuffer type
type_aux: u32Type of auxiliary display
visual: u32Visual type
xpanstep: u16Zero if no hardware panning
ypanstep: u16Zero if no hardware panning
ywrapstep: u16Zero if no hardware ywrap
line_length: u32Length of a line in bytes
mmio_start: usizeStart of memory mapped I/O
mmio_len: u32Length of memory mapped I/O
accel: u32Acceleration type
capabilities: u16Capabilities
reserved: [u16; 2]Reserved for future compatibility
Trait Implementations§
Source§impl Clone for FbFixScreenInfo
impl Clone for FbFixScreenInfo
Source§fn clone(&self) -> FbFixScreenInfo
fn clone(&self) -> FbFixScreenInfo
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FbFixScreenInfo
impl Debug for FbFixScreenInfo
Auto Trait Implementations§
impl Freeze for FbFixScreenInfo
impl RefUnwindSafe for FbFixScreenInfo
impl Send for FbFixScreenInfo
impl Sync for FbFixScreenInfo
impl Unpin for FbFixScreenInfo
impl UnwindSafe for FbFixScreenInfo
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)