Struct x11rb::protocol::dri2::GetBuffersWithFormatRequest [−][src]
pub struct GetBuffersWithFormatRequest<'input> {
pub drawable: Drawable,
pub count: u32,
pub attachments: Cow<'input, [AttachFormat]>,
}
Fields
drawable: Drawable
count: u32
attachments: Cow<'input, [AttachFormat]>
Implementations
pub fn send<Conn: ?Sized>(
self,
conn: &Conn
) -> Result<Cookie<'_, Conn, GetBuffersWithFormatReply>, 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 GetBuffersWithFormatRequest.
Trait Implementations
impl<'input> PartialEq<GetBuffersWithFormatRequest<'input>> for GetBuffersWithFormatRequest<'input>
impl<'input> PartialEq<GetBuffersWithFormatRequest<'input>> for GetBuffersWithFormatRequest<'input>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Reply = GetBuffersWithFormatReply
type Reply = GetBuffersWithFormatReply
The kind of reply that this request generates.
Auto Trait Implementations
impl<'input> RefUnwindSafe for GetBuffersWithFormatRequest<'input>
impl<'input> Send for GetBuffersWithFormatRequest<'input>
impl<'input> Sync for GetBuffersWithFormatRequest<'input>
impl<'input> Unpin for GetBuffersWithFormatRequest<'input>
impl<'input> UnwindSafe for GetBuffersWithFormatRequest<'input>
Blanket Implementations
Mutably borrows from an owned value. Read more