Struct x11rb_protocol::protocol::dri3::FenceFromFDRequest
source · pub struct FenceFromFDRequest {
pub drawable: Drawable,
pub fence: u32,
pub initially_triggered: bool,
pub fence_fd: RawFdContainer,
}
Fields§
§drawable: Drawable
§fence: u32
§initially_triggered: bool
§fence_fd: RawFdContainer
Implementations§
source§impl FenceFromFDRequest
impl FenceFromFDRequest
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<PiecewiseBuf<'static>>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<PiecewiseBuf<'static>>
Serialize this request into bytes for the provided connection
sourcepub 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§
source§impl Debug for FenceFromFDRequest
impl Debug for FenceFromFDRequest
source§impl PartialEq<FenceFromFDRequest> for FenceFromFDRequest
impl PartialEq<FenceFromFDRequest> for FenceFromFDRequest
source§fn eq(&self, other: &FenceFromFDRequest) -> bool
fn eq(&self, other: &FenceFromFDRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Request for FenceFromFDRequest
impl Request for FenceFromFDRequest
impl Eq for FenceFromFDRequest
impl StructuralEq for FenceFromFDRequest
impl StructuralPartialEq for FenceFromFDRequest
impl VoidRequest for FenceFromFDRequest
Auto Trait Implementations§
impl RefUnwindSafe for FenceFromFDRequest
impl Send for FenceFromFDRequest
impl Sync for FenceFromFDRequest
impl Unpin for FenceFromFDRequest
impl UnwindSafe for FenceFromFDRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more