pub enum ProximityCommand {
ReadProximity = 1,
ReadProximityOnInterrupt = 2,
NoCommand = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for ProximityCommand
impl Clone for ProximityCommand
Source§fn clone(&self) -> ProximityCommand
fn clone(&self) -> ProximityCommand
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ProximityCommand
impl Default for ProximityCommand
Source§fn default() -> ProximityCommand
fn default() -> ProximityCommand
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProximityCommand
impl PartialEq for ProximityCommand
impl Copy for ProximityCommand
impl StructuralPartialEq for ProximityCommand
Auto Trait Implementations§
impl Freeze for ProximityCommand
impl RefUnwindSafe for ProximityCommand
impl Send for ProximityCommand
impl Sync for ProximityCommand
impl Unpin for ProximityCommand
impl UnwindSafe for ProximityCommand
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