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<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
Source§fn into_safe_cast(self) -> T
fn into_safe_cast(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.Source§impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Source§fn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.