Struct xcb::xf86vidmode::SwitchMode
source · pub struct SwitchMode {
pub screen: u16,
pub zoom: u16,
}
Expand description
The SwitchMode
request.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields§
§screen: u16
§zoom: u16
Trait Implementations§
source§impl Clone for SwitchMode
impl Clone for SwitchMode
source§fn clone(&self) -> SwitchMode
fn clone(&self) -> SwitchMode
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 SwitchMode
impl Debug for SwitchMode
source§impl RawRequest for SwitchMode
impl RawRequest for SwitchMode
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 Request for SwitchMode
impl Request for SwitchMode
impl RequestWithoutReply for SwitchMode
Auto Trait Implementations§
impl Freeze for SwitchMode
impl RefUnwindSafe for SwitchMode
impl Send for SwitchMode
impl Sync for SwitchMode
impl Unpin for SwitchMode
impl UnwindSafe for SwitchMode
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
)