Struct x11rb_protocol::protocol::dri3::OpenReply
source · pub struct OpenReply {
pub nfd: u8,
pub sequence: u16,
pub length: u32,
pub device_fd: RawFdContainer,
}
Fields§
§nfd: u8
§sequence: u16
§length: u32
§device_fd: RawFdContainer
Trait Implementations§
source§impl TryParseFd for OpenReply
impl TryParseFd for OpenReply
source§fn try_parse_fd<'a>(
initial_value: &'a [u8],
fds: &mut Vec<RawFdContainer>
) -> Result<(Self, &'a [u8]), ParseError>
fn try_parse_fd<'a>( initial_value: &'a [u8], fds: &mut Vec<RawFdContainer> ) -> Result<(Self, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
Auto Trait Implementations§
impl Freeze for OpenReply
impl RefUnwindSafe for OpenReply
impl Send for OpenReply
impl Sync for OpenReply
impl Unpin for OpenReply
impl UnwindSafe for OpenReply
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