pub struct Registration<T: Driver>(/* private fields */);
Expand description
The registration type of a drm::Device
.
Once the Registration
structure is dropped, the device is unregistered.
Implementations§
Source§impl<T: Driver> Registration<T>
impl<T: Driver> Registration<T>
Trait Implementations§
Source§impl<T: Driver> Drop for Registration<T>
impl<T: Driver> Drop for Registration<T>
impl<T: Driver> Send for Registration<T>
impl<T: Driver> Sync for Registration<T>
Auto Trait Implementations§
impl<T> Freeze for Registration<T>
impl<T> !RefUnwindSafe for Registration<T>
impl<T> Unpin for Registration<T>
impl<T> !UnwindSafe for Registration<T>
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