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