Struct xcb::xf86vidmode::ModeInfo
source · pub struct ModeInfo { /* private fields */ }
Implementations§
source§impl ModeInfo
impl ModeInfo
sourcepub fn new(
dotclock: Dotclock,
hdisplay: u16,
hsyncstart: u16,
hsyncend: u16,
htotal: u16,
hskew: u32,
vdisplay: u16,
vsyncstart: u16,
vsyncend: u16,
vtotal: u16,
flags: ModeFlag,
privsize: u32,
) -> ModeInfo
pub fn new( dotclock: Dotclock, hdisplay: u16, hsyncstart: u16, hsyncend: u16, htotal: u16, hskew: u32, vdisplay: u16, vsyncstart: u16, vsyncend: u16, vtotal: u16, flags: ModeFlag, privsize: u32, ) -> ModeInfo
Construct a new ModeInfo.
pub fn dotclock(&self) -> Dotclock
pub fn hdisplay(&self) -> u16
pub fn hsyncstart(&self) -> u16
pub fn hsyncend(&self) -> u16
pub fn htotal(&self) -> u16
pub fn hskew(&self) -> u32
pub fn vdisplay(&self) -> u16
pub fn vsyncstart(&self) -> u16
pub fn vsyncend(&self) -> u16
pub fn vtotal(&self) -> u16
pub fn flags(&self) -> ModeFlag
pub fn privsize(&self) -> u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModeInfo
impl RefUnwindSafe for ModeInfo
impl Send for ModeInfo
impl Sync for ModeInfo
impl Unpin for ModeInfo
impl UnwindSafe for ModeInfo
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)