#[repr(C)]pub struct FixScreeninfo {Show 15 fields
pub id: [u8; 16],
pub smem_start: usize,
pub smem_len: u32,
pub fb_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
Struct as defined in /usr/include/linux/fb.h Note: type is a keyword in Rust and therefore has been changed to fb_type.
Fields§
§id: [u8; 16]
§smem_start: usize
§smem_len: u32
§fb_type: u32
§type_aux: u32
§visual: u32
§xpanstep: u16
§ypanstep: u16
§ywrapstep: u16
§line_length: u32
§mmio_start: usize
§mmio_len: u32
§accel: u32
§capabilities: u16
§reserved: [u16; 2]
Trait Implementations§
Source§impl Clone for FixScreeninfo
impl Clone for FixScreeninfo
Source§fn clone(&self) -> FixScreeninfo
fn clone(&self) -> FixScreeninfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FixScreeninfo
impl Debug for FixScreeninfo
Auto Trait Implementations§
impl Freeze for FixScreeninfo
impl RefUnwindSafe for FixScreeninfo
impl Send for FixScreeninfo
impl Sync for FixScreeninfo
impl Unpin for FixScreeninfo
impl UnwindSafe for FixScreeninfo
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