pub enum MonomeDeviceType {
Grid,
Arc,
Unknown,
}Expand description
A type of device, either Grid (of various size), Arc (with 2 or 4 encoders), or unknown.
Variants§
Grid
The type for a monome grid.
Arc
The type for a monome arc.
Unknown
Unknown device, please file an issue.
Trait Implementations§
Source§impl Clone for MonomeDeviceType
impl Clone for MonomeDeviceType
Source§fn clone(&self) -> MonomeDeviceType
fn clone(&self) -> MonomeDeviceType
Returns a duplicate 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 Debug for MonomeDeviceType
impl Debug for MonomeDeviceType
Source§impl Display for MonomeDeviceType
impl Display for MonomeDeviceType
Source§impl From<&str> for MonomeDeviceType
impl From<&str> for MonomeDeviceType
Source§fn from(string: &str) -> MonomeDeviceType
fn from(string: &str) -> MonomeDeviceType
Converts to this type from the input type.
Source§impl PartialEq for MonomeDeviceType
impl PartialEq for MonomeDeviceType
impl StructuralPartialEq for MonomeDeviceType
Auto Trait Implementations§
impl Freeze for MonomeDeviceType
impl RefUnwindSafe for MonomeDeviceType
impl Send for MonomeDeviceType
impl Sync for MonomeDeviceType
impl Unpin for MonomeDeviceType
impl UnwindSafe for MonomeDeviceType
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