#[repr(u16)]pub enum Control {
Disable,
EnableStart,
EnablePause,
}
Variants§
Trait Implementations§
source§impl PartialEq<Control> for Control
impl PartialEq<Control> for Control
source§impl TryFrom<u16> for Control
impl TryFrom<u16> for Control
§type Error = TryFromPrimitiveError<Control>
type Error = TryFromPrimitiveError<Control>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for Control
impl TryFromPrimitive for Control
impl Copy for Control
impl Eq for Control
impl StructuralEq for Control
impl StructuralPartialEq for Control
Auto Trait Implementations§
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnwindSafe for Control
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