Enum driverkit::DriverState
source · [−]pub enum DriverState {
Uninitialized,
Initialized,
Attached(usize),
Detached,
Destroyed,
}
Variants
Uninitialized
Initialized
Attached(usize)
Detached
Destroyed
Trait Implementations
sourceimpl Clone for DriverState
impl Clone for DriverState
sourcefn clone(&self) -> DriverState
fn clone(&self) -> DriverState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DriverState
impl Debug for DriverState
sourceimpl PartialEq<DriverState> for DriverState
impl PartialEq<DriverState> for DriverState
sourcefn eq(&self, other: &DriverState) -> bool
fn eq(&self, other: &DriverState) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DriverState) -> bool
fn ne(&self, other: &DriverState) -> bool
This method tests for !=
.
impl Copy for DriverState
impl Eq for DriverState
impl StructuralEq for DriverState
impl StructuralPartialEq for DriverState
Auto Trait Implementations
impl RefUnwindSafe for DriverState
impl Send for DriverState
impl Sync for DriverState
impl Unpin for DriverState
impl UnwindSafe for DriverState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more