pub struct CreateLease<'a> {
pub window: Window,
pub lid: Lease,
pub crtcs: &'a [Crtc],
pub outputs: &'a [Output],
}Expand description
The CreateLease request.
This request replies CreateLeaseReply.
Associated cookie types are CreateLeaseCookie and CreateLeaseCookieUnchecked.
Fields§
§window: Window§lid: Lease§crtcs: &'a [Crtc]§outputs: &'a [Output]Trait Implementations§
Source§impl<'a> Clone for CreateLease<'a>
impl<'a> Clone for CreateLease<'a>
Source§fn clone(&self) -> CreateLease<'a>
fn clone(&self) -> CreateLease<'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 CreateLease<'a>
impl<'a> Debug for CreateLease<'a>
Source§impl<'a> RawRequest for CreateLease<'a>
impl<'a> RawRequest for CreateLease<'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 CreateLease<'a>
impl<'a> Request for CreateLease<'a>
Source§impl<'a> RequestWithReply for CreateLease<'a>
impl<'a> RequestWithReply for CreateLease<'a>
Source§type Reply = CreateLeaseReply
type Reply = CreateLeaseReply
Reply associated with the request
Source§type Cookie = CreateLeaseCookie
type Cookie = CreateLeaseCookie
Default cookie type for the request, as returned by Connection::send_request.
Source§type CookieUnchecked = CreateLeaseCookieUnchecked
type CookieUnchecked = CreateLeaseCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl<'a> Freeze for CreateLease<'a>
impl<'a> RefUnwindSafe for CreateLease<'a>
impl<'a> Send for CreateLease<'a>
impl<'a> Sync for CreateLease<'a>
impl<'a> Unpin for CreateLease<'a>
impl<'a> UnwindSafe for CreateLease<'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