Struct x11rb::protocol::glx::CreatePbufferRequest [−][src]
pub struct CreatePbufferRequest<'input> {
pub screen: u32,
pub fbconfig: Fbconfig,
pub pbuffer: Pbuffer,
pub attribs: Cow<'input, [u32]>,
}
Fields
screen: u32
fbconfig: Fbconfig
pbuffer: Pbuffer
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 CreatePbufferRequest.
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 CreatePbufferRequest<'input>
impl<'input> Send for CreatePbufferRequest<'input>
impl<'input> Sync for CreatePbufferRequest<'input>
impl<'input> Unpin for CreatePbufferRequest<'input>
impl<'input> UnwindSafe for CreatePbufferRequest<'input>
Blanket Implementations
Mutably borrows from an owned value. Read more