pub struct GetViewPort {
pub screen: u16,
}Expand description
The GetViewPort request.
This request replies GetViewPortReply.
Associated cookie types are GetViewPortCookie and GetViewPortCookieUnchecked.
Fields§
§screen: u16Trait Implementations§
Source§impl Clone for GetViewPort
impl Clone for GetViewPort
Source§fn clone(&self) -> GetViewPort
fn clone(&self) -> GetViewPort
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 GetViewPort
impl Debug for GetViewPort
Source§impl RawRequest for GetViewPort
impl RawRequest for GetViewPort
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 GetViewPort
impl Request for GetViewPort
Source§impl RequestWithReply for GetViewPort
impl RequestWithReply for GetViewPort
Source§type Reply = GetViewPortReply
type Reply = GetViewPortReply
Reply associated with the request
Source§type Cookie = GetViewPortCookie
type Cookie = GetViewPortCookie
Default cookie type for the request, as returned by Connection::send_request.
Source§type CookieUnchecked = GetViewPortCookieUnchecked
type CookieUnchecked = GetViewPortCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for GetViewPort
impl RefUnwindSafe for GetViewPort
impl Send for GetViewPort
impl Sync for GetViewPort
impl Unpin for GetViewPort
impl UnwindSafe for GetViewPort
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