Struct xcb::glx::ReadPixels
source · 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: bool
Trait Implementations§
source§impl Clone for ReadPixels
impl Clone for ReadPixels
source§fn clone(&self) -> ReadPixels
fn clone(&self) -> ReadPixels
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 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 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
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
)