Struct x11rb::protocol::dri3::PixmapFromBufferRequest [−][src]
pub struct PixmapFromBufferRequest {
pub pixmap: Pixmap,
pub drawable: Drawable,
pub size: u32,
pub width: u16,
pub height: u16,
pub stride: u16,
pub depth: u8,
pub bpp: u8,
pub pixmap_fd: RawFdContainer,
}
Fields
pixmap: Pixmap
drawable: Drawable
size: u32
width: u16
height: u16
stride: u16
depth: u8
bpp: u8
pixmap_fd: RawFdContainer
Implementations
pub fn send<Conn: ?Sized>(
self,
conn: &Conn
) -> Result<VoidCookie<'_, Conn>, ConnectionError> where
Conn: RequestConnection + ?Sized,
pub fn try_parse_request_fd(
header: RequestHeader,
value: &[u8],
fds: &mut Vec<RawFdContainer>
) -> Result<Self, ParseError>
pub fn try_parse_request_fd(
header: RequestHeader,
value: &[u8],
fds: &mut Vec<RawFdContainer>
) -> Result<Self, 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 !=
.