Struct redwm::imports::GetImageRequest [−][src]
pub struct GetImageRequest { pub format: ImageFormat, pub drawable: u32, pub x: i16, pub y: i16, pub width: u16, pub height: u16, pub plane_mask: u32, }
Fields
format: ImageFormat
drawable: u32
x: i16
y: i16
width: u16
height: u16
plane_mask: u32
Implementations
pub fn send<Conn>(
self,
conn: &Conn
) -> Result<Cookie<'_, Conn, GetImageReply>, ConnectionError> where
Conn: RequestConnection + ?Sized,
pub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<GetImageRequest, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<GetImageRequest, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Reply = GetImageReply
type Reply = GetImageReply
The kind of reply that this request generates.
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
Mutably borrows from an owned value. Read more