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<[Cow<'static, [u8]>; 1]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
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 Request for FenceFromFDRequest
impl Request for FenceFromFDRequest
impl VoidRequest for FenceFromFDRequest
Auto Trait Implementations§
impl Freeze for FenceFromFDRequest
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