pub struct GetImage {
pub drawable: Drawable,
pub x: i16,
pub y: i16,
pub width: u16,
pub height: u16,
pub plane_mask: u32,
pub format: u8,
pub shmseg: Seg,
pub offset: u32,
}
Expand description
The GetImage
request.
This request replies GetImageReply.
Associated cookie types are GetImageCookie and GetImageCookieUnchecked.
Fields
drawable: Drawable
x: i16
y: i16
width: u16
height: u16
plane_mask: u32
format: u8
shmseg: Seg
offset: u32
Trait Implementations
sourceimpl RawRequest for GetImage
impl RawRequest for GetImage
sourcefn 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
sourceimpl Request for GetImage
impl Request for GetImage
type Cookie = GetImageCookie
type Cookie = GetImageCookie
The default cookie associated to this request.
sourceimpl RequestWithReply for GetImage
impl RequestWithReply for GetImage
type Reply = GetImageReply
type Reply = GetImageReply
Reply associated with the request
type Cookie = GetImageCookie
type Cookie = GetImageCookie
Default cookie type for the request, as returned by Connection::send_request.
type CookieUnchecked = GetImageCookieUnchecked
type CookieUnchecked = GetImageCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations
impl RefUnwindSafe for GetImage
impl Send for GetImage
impl Sync for GetImage
impl Unpin for GetImage
impl UnwindSafe for GetImage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more