pub struct Ioctl;Expand description
The DeviceContext of a Device that has been registered with userspace previously.
A Device in this context has been registered at some point, but may be concurrently
unregistering or already unregistered. drm_dev_enter() can guard against this, ensuring the
device remains registered for the duration of the critical section.
§Invariants
A Device in this context has been registered with userspace via drm_dev_register() at
some point.
Trait Implementations§
impl DeviceContext for Ioctl
Auto Trait Implementations§
impl Freeze for Ioctl
impl RefUnwindSafe for Ioctl
impl Send for Ioctl
impl Sync for Ioctl
impl Unpin for Ioctl
impl UnsafeUnpin for Ioctl
impl UnwindSafe for Ioctl
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> KnownSize for T
impl<T> KnownSize for T
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more