pub enum MobilePhoneReadMode {
HandheldScanning,
StreamingPresentation,
}Expand description
Represents the Mobile Phone Read Mode serial command.
Variants§
Implementations§
Source§impl MobilePhoneReadMode
impl MobilePhoneReadMode
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new MobilePhoneReadMode.
Sourcepub const fn command(&self) -> &str
pub const fn command(&self) -> &str
Gets the ASCII serial command code for MobilePhoneReadMode.
Trait Implementations§
Source§impl Clone for MobilePhoneReadMode
impl Clone for MobilePhoneReadMode
Source§fn clone(&self) -> MobilePhoneReadMode
fn clone(&self) -> MobilePhoneReadMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MobilePhoneReadMode
Source§impl Debug for MobilePhoneReadMode
impl Debug for MobilePhoneReadMode
Source§impl Default for MobilePhoneReadMode
impl Default for MobilePhoneReadMode
impl Eq for MobilePhoneReadMode
Source§impl PartialEq for MobilePhoneReadMode
impl PartialEq for MobilePhoneReadMode
Source§fn eq(&self, other: &MobilePhoneReadMode) -> bool
fn eq(&self, other: &MobilePhoneReadMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MobilePhoneReadMode
Auto Trait Implementations§
impl Freeze for MobilePhoneReadMode
impl RefUnwindSafe for MobilePhoneReadMode
impl Send for MobilePhoneReadMode
impl Sync for MobilePhoneReadMode
impl Unpin for MobilePhoneReadMode
impl UnsafeUnpin for MobilePhoneReadMode
impl UnwindSafe for MobilePhoneReadMode
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