#[repr(C)]pub struct DrmSyncobjHandleToFd {
pub handle: RawDrmSyncobjHandle,
pub flags: SyncobjHandleToFdFlags,
pub fd: RawFd,
pub _padding: u32,
pub point: u64,
}Fields§
§handle: RawDrmSyncobjHandle§flags: SyncobjHandleToFdFlags§fd: RawFd§_padding: u32§point: u64Trait Implementations§
Source§impl Ioctl for DrmSyncobjHandleToFd
impl Ioctl for DrmSyncobjHandleToFd
Source§const IS_MUTATING: bool = true
const IS_MUTATING: bool = true
Does the
ioctl mutate any data in the userspace? Read moreSource§fn as_ptr(&mut self) -> *mut c_void
fn as_ptr(&mut self) -> *mut c_void
Get a pointer to the data to be passed to the
ioctl command. Read moreSource§unsafe fn output_from_ptr(
_out: IoctlOutput,
extract_output: *mut c_void,
) -> Result<Self::Output>
unsafe fn output_from_ptr( _out: IoctlOutput, extract_output: *mut c_void, ) -> Result<Self::Output>
Cast the output data to the correct type. Read more
Auto Trait Implementations§
impl Freeze for DrmSyncobjHandleToFd
impl RefUnwindSafe for DrmSyncobjHandleToFd
impl Send for DrmSyncobjHandleToFd
impl Sync for DrmSyncobjHandleToFd
impl Unpin for DrmSyncobjHandleToFd
impl UnsafeUnpin for DrmSyncobjHandleToFd
impl UnwindSafe for DrmSyncobjHandleToFd
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