pub struct ReadPixels {
pub context_tag: ContextTag,
pub x: i32,
pub y: i32,
pub width: i32,
pub height: i32,
pub format: u32,
pub type: u32,
pub swap_bytes: bool,
pub lsb_first: bool,
}Expand description
The ReadPixels request.
This request replies ReadPixelsReply.
Associated cookie types are ReadPixelsCookie and ReadPixelsCookieUnchecked.
Fields§
§context_tag: ContextTag§x: i32§y: i32§width: i32§height: i32§format: u32§type: u32§swap_bytes: bool§lsb_first: boolTrait Implementations§
Source§impl Clone for ReadPixels
impl Clone for ReadPixels
Source§fn clone(&self) -> ReadPixels
fn clone(&self) -> ReadPixels
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReadPixels
impl Debug for ReadPixels
Source§impl RawRequest for ReadPixels
impl RawRequest for ReadPixels
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 ReadPixels
impl Request for ReadPixels
Source§impl RequestWithReply for ReadPixels
impl RequestWithReply for ReadPixels
Source§type Reply = ReadPixelsReply
type Reply = ReadPixelsReply
Reply associated with the request
Source§type Cookie = ReadPixelsCookie
type Cookie = ReadPixelsCookie
Default cookie type for the request, as returned by Connection::send_request.
Source§type CookieUnchecked = ReadPixelsCookieUnchecked
type CookieUnchecked = ReadPixelsCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for ReadPixels
impl RefUnwindSafe for ReadPixels
impl Send for ReadPixels
impl Sync for ReadPixels
impl Unpin for ReadPixels
impl UnsafeUnpin for ReadPixels
impl UnwindSafe for ReadPixels
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