Struct breadx::auto::xproto::PutImageRequest [−][src]
pub struct PutImageRequest { pub req_type: u8, pub format: ImageFormat, pub length: u16, pub drawable: Drawable, pub gc: Gcontext, pub width: u16, pub height: u16, pub dst_x: i16, pub dst_y: i16, pub left_pad: u8, pub depth: u8, pub data: Vec<u8>, }
Fields
req_type: u8
format: ImageFormat
length: u16
drawable: Drawable
gc: Gcontext
width: u16
height: u16
dst_x: i16
dst_y: i16
left_pad: u8
depth: u8
data: Vec<u8>
Trait Implementations
Convert a sequence of bytes into this item.
Get the size needed to store this item in terms of bytes. Higher is better than lower here, since this is mostly used to allocate buffers for items. Read more
If this item has any file descriptors stored within, this function returns them.
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for PutImageRequest
impl Send for PutImageRequest
impl Sync for PutImageRequest
impl Unpin for PutImageRequest
impl UnwindSafe for PutImageRequest
Blanket Implementations
Mutably borrows from an owned value. Read more