Struct x11rb_protocol::protocol::dri3::ImportSyncobjRequest
source · pub struct ImportSyncobjRequest {
pub syncobj: Syncobj,
pub drawable: Drawable,
pub syncobj_fd: RawFdContainer,
}
Fields§
§syncobj: Syncobj
§drawable: Drawable
§syncobj_fd: RawFdContainer
Implementations§
source§impl ImportSyncobjRequest
impl ImportSyncobjRequest
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 ImportSyncobjRequest
impl Debug for ImportSyncobjRequest
source§impl Request for ImportSyncobjRequest
impl Request for ImportSyncobjRequest
impl VoidRequest for ImportSyncobjRequest
Auto Trait Implementations§
impl Freeze for ImportSyncobjRequest
impl RefUnwindSafe for ImportSyncobjRequest
impl Send for ImportSyncobjRequest
impl Sync for ImportSyncobjRequest
impl Unpin for ImportSyncobjRequest
impl UnwindSafe for ImportSyncobjRequest
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