pub struct Registered;Expand description
The DeviceContext of a Device that was registered with userspace at some point.
This represents a Device which is guaranteed to have been registered with userspace at
some point in time. Such a DRM device is guaranteed to have been fully-initialized.
Note: A device in this context is not guaranteed to remain registered with userspace for its entire lifetime, as this is impossible to guarantee at compile-time.
§Invariants
A Device in this DeviceContext is guaranteed to have been registered with userspace
at some point in time.
Trait Implementations§
impl DeviceContext for Registered
Auto Trait Implementations§
impl Freeze for Registered
impl RefUnwindSafe for Registered
impl Send for Registered
impl Sync for Registered
impl Unpin for Registered
impl UnsafeUnpin for Registered
impl UnwindSafe for Registered
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> 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