pub struct ModModeLine<'a> {
pub screen: u32,
pub hdisplay: u16,
pub hsyncstart: u16,
pub hsyncend: u16,
pub htotal: u16,
pub hskew: u16,
pub vdisplay: u16,
pub vsyncstart: u16,
pub vsyncend: u16,
pub vtotal: u16,
pub flags: ModeFlag,
pub private: &'a [u8],
}Expand description
The ModModeLine request.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields§
§screen: u32§hdisplay: u16§hsyncstart: u16§hsyncend: u16§htotal: u16§hskew: u16§vdisplay: u16§vsyncstart: u16§vsyncend: u16§vtotal: u16§flags: ModeFlag§private: &'a [u8]Trait Implementations§
Source§impl<'a> Clone for ModModeLine<'a>
impl<'a> Clone for ModModeLine<'a>
Source§fn clone(&self) -> ModModeLine<'a>
fn clone(&self) -> ModModeLine<'a>
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<'a> Debug for ModModeLine<'a>
impl<'a> Debug for ModModeLine<'a>
Source§impl<'a> RawRequest for ModModeLine<'a>
impl<'a> RawRequest for ModModeLine<'a>
Source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
Source§impl<'a> Request for ModModeLine<'a>
impl<'a> Request for ModModeLine<'a>
impl<'a> RequestWithoutReply for ModModeLine<'a>
Auto Trait Implementations§
impl<'a> Freeze for ModModeLine<'a>
impl<'a> RefUnwindSafe for ModModeLine<'a>
impl<'a> Send for ModModeLine<'a>
impl<'a> Sync for ModModeLine<'a>
impl<'a> Unpin for ModModeLine<'a>
impl<'a> UnwindSafe for ModModeLine<'a>
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