Struct x11rb::protocol::glx::CreatePixmapRequest [−][src]
pub struct CreatePixmapRequest<'input> {
pub screen: u32,
pub fbconfig: Fbconfig,
pub pixmap: Pixmap,
pub glx_pixmap: Pixmap,
pub attribs: Cow<'input, [u32]>,
}
Fields
screen: u32
fbconfig: Fbconfig
pixmap: Pixmap
glx_pixmap: Pixmap
attribs: Cow<'input, [u32]>
Implementations
pub fn send<Conn: ?Sized>(
self,
conn: &Conn
) -> Result<VoidCookie<'_, Conn>, ConnectionError> where
Conn: RequestConnection + ?Sized,
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<Self, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Clone all borrowed data in this CreatePixmapRequest.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'input> RefUnwindSafe for CreatePixmapRequest<'input>
impl<'input> Send for CreatePixmapRequest<'input>
impl<'input> Sync for CreatePixmapRequest<'input>
impl<'input> Unpin for CreatePixmapRequest<'input>
impl<'input> UnwindSafe for CreatePixmapRequest<'input>
Blanket Implementations
Mutably borrows from an owned value. Read more