Struct linux_uapi::x86_64::fb_fix_screeninfo
source · #[repr(C)]pub struct fb_fix_screeninfo {Show 18 fields
pub id: [c_char; 16],
pub smem_start: c_ulong,
pub smem_len: __u32,
pub type_: __u32,
pub type_aux: __u32,
pub visual: __u32,
pub xpanstep: __u16,
pub ypanstep: __u16,
pub ywrapstep: __u16,
pub __bindgen_padding_0: [u8; 2],
pub line_length: __u32,
pub __bindgen_padding_1: [u8; 4],
pub mmio_start: c_ulong,
pub mmio_len: __u32,
pub accel: __u32,
pub capabilities: __u16,
pub reserved: [__u16; 2],
pub __bindgen_padding_2: [u8; 2],
}
Fields§
§id: [c_char; 16]
§smem_start: c_ulong
§smem_len: __u32
§type_: __u32
§type_aux: __u32
§visual: __u32
§xpanstep: __u16
§ypanstep: __u16
§ywrapstep: __u16
§__bindgen_padding_0: [u8; 2]
§line_length: __u32
§__bindgen_padding_1: [u8; 4]
§mmio_start: c_ulong
§mmio_len: __u32
§accel: __u32
§capabilities: __u16
§reserved: [__u16; 2]
§__bindgen_padding_2: [u8; 2]
Trait Implementations§
source§impl Clone for fb_fix_screeninfo
impl Clone for fb_fix_screeninfo
source§fn clone(&self) -> fb_fix_screeninfo
fn clone(&self) -> fb_fix_screeninfo
Returns a copy 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 fb_fix_screeninfo
impl Debug for fb_fix_screeninfo
source§impl Default for fb_fix_screeninfo
impl Default for fb_fix_screeninfo
source§fn default() -> fb_fix_screeninfo
fn default() -> fb_fix_screeninfo
Returns the “default value” for a type. Read more
source§impl FromBytes for fb_fix_screeninfo
impl FromBytes for fb_fix_screeninfo
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
Interprets the prefix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
Interprets the suffix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeros for fb_fix_screeninfo
impl FromZeros for fb_fix_screeninfo
source§impl IntoBytes for fb_fix_screeninfo
impl IntoBytes for fb_fix_screeninfo
impl Copy for fb_fix_screeninfo
Auto Trait Implementations§
impl Freeze for fb_fix_screeninfo
impl RefUnwindSafe for fb_fix_screeninfo
impl Send for fb_fix_screeninfo
impl Sync for fb_fix_screeninfo
impl Unpin for fb_fix_screeninfo
impl UnwindSafe for fb_fix_screeninfo
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