Struct x11rb_protocol::protocol::xproto::GetImageRequest
source · [−]pub struct GetImageRequest {
pub format: ImageFormat,
pub drawable: Drawable,
pub x: i16,
pub y: i16,
pub width: u16,
pub height: u16,
pub plane_mask: u32,
}
Fields
format: ImageFormat
drawable: Drawable
x: i16
y: i16
width: u16
height: u16
plane_mask: u32
Implementations
sourceimpl GetImageRequest
impl GetImageRequest
sourcepub fn serialize(self) -> BufWithFds<PiecewiseBuf<'static>>
pub fn serialize(self) -> BufWithFds<PiecewiseBuf<'static>>
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<Self, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations
sourceimpl Clone for GetImageRequest
impl Clone for GetImageRequest
sourcefn clone(&self) -> GetImageRequest
fn clone(&self) -> GetImageRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetImageRequest
impl Debug for GetImageRequest
sourceimpl Default for GetImageRequest
impl Default for GetImageRequest
sourcefn default() -> GetImageRequest
fn default() -> GetImageRequest
Returns the “default value” for a type. Read more
sourceimpl Hash for GetImageRequest
impl Hash for GetImageRequest
sourceimpl Ord for GetImageRequest
impl Ord for GetImageRequest
sourceimpl PartialEq<GetImageRequest> for GetImageRequest
impl PartialEq<GetImageRequest> for GetImageRequest
sourcefn eq(&self, other: &GetImageRequest) -> bool
fn eq(&self, other: &GetImageRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetImageRequest) -> bool
fn ne(&self, other: &GetImageRequest) -> bool
This method tests for !=
.
sourceimpl PartialOrd<GetImageRequest> for GetImageRequest
impl PartialOrd<GetImageRequest> for GetImageRequest
sourcefn partial_cmp(&self, other: &GetImageRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &GetImageRequest) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl ReplyRequest for GetImageRequest
impl ReplyRequest for GetImageRequest
type Reply = GetImageReply
type Reply = GetImageReply
The kind of reply that this request generates.
sourceimpl Request for GetImageRequest
impl Request for GetImageRequest
impl Copy for GetImageRequest
impl Eq for GetImageRequest
impl StructuralEq for GetImageRequest
impl StructuralPartialEq for GetImageRequest
Auto Trait Implementations
impl RefUnwindSafe for GetImageRequest
impl Send for GetImageRequest
impl Sync for GetImageRequest
impl Unpin for GetImageRequest
impl UnwindSafe for GetImageRequest
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