FMWave

Enum FMWave 

Source
#[repr(u8)]
pub enum FMWave {
Show 77 variants SIN = 0, SW2 = 1, SW3 = 2, SW4 = 3, SW5 = 4, SW6 = 5, TRI = 6, SAW = 7, SQR = 8, PUL = 9, IMP = 10, NOI = 11, NLP = 12, NHP = 13, NBP = 14, CLK = 15, W09 = 16, W0A = 17, W0B = 18, W0C = 19, W0D = 20, W0E = 21, W0F = 22, W10 = 23, W11 = 24, W12 = 25, W13 = 26, W14 = 27, W15 = 28, W16 = 29, W17 = 30, W18 = 31, W19 = 32, W1A = 33, W1B = 34, W1C = 35, W1D = 36, W1E = 37, W1F = 38, W20 = 39, W21 = 40, W22 = 41, W23 = 42, W24 = 43, W25 = 44, W26 = 45, W27 = 46, W28 = 47, W29 = 48, W2A = 49, W2B = 50, W2C = 51, W2D = 52, W2E = 53, W2F = 54, W30 = 55, W31 = 56, W32 = 57, W33 = 58, W34 = 59, W35 = 60, W36 = 61, W37 = 62, W38 = 63, W39 = 64, W3A = 65, W3B = 66, W3C = 67, W3D = 68, W3E = 69, W3F = 70, W40 = 71, W41 = 72, W42 = 73, W43 = 74, W44 = 75, W45 = 76,
}

Variants§

§

SIN = 0

§

SW2 = 1

§

SW3 = 2

§

SW4 = 3

§

SW5 = 4

§

SW6 = 5

§

TRI = 6

§

SAW = 7

§

SQR = 8

§

PUL = 9

§

IMP = 10

§

NOI = 11

§

NLP = 12

§

NHP = 13

§

NBP = 14

§

CLK = 15

§

W09 = 16

§

W0A = 17

§

W0B = 18

§

W0C = 19

§

W0D = 20

§

W0E = 21

§

W0F = 22

§

W10 = 23

§

W11 = 24

§

W12 = 25

§

W13 = 26

§

W14 = 27

§

W15 = 28

§

W16 = 29

§

W17 = 30

§

W18 = 31

§

W19 = 32

§

W1A = 33

§

W1B = 34

§

W1C = 35

§

W1D = 36

§

W1E = 37

§

W1F = 38

§

W20 = 39

§

W21 = 40

§

W22 = 41

§

W23 = 42

§

W24 = 43

§

W25 = 44

§

W26 = 45

§

W27 = 46

§

W28 = 47

§

W29 = 48

§

W2A = 49

§

W2B = 50

§

W2C = 51

§

W2D = 52

§

W2E = 53

§

W2F = 54

§

W30 = 55

§

W31 = 56

§

W32 = 57

§

W33 = 58

§

W34 = 59

§

W35 = 60

§

W36 = 61

§

W37 = 62

§

W38 = 63

§

W39 = 64

§

W3A = 65

§

W3B = 66

§

W3C = 67

§

W3D = 68

§

W3E = 69

§

W3F = 70

§

W40 = 71

§

W41 = 72

§

W42 = 73

§

W43 = 74

§

W44 = 75

§

W45 = 76

Trait Implementations§

Source§

impl Clone for FMWave

Source§

fn clone(&self) -> FMWave

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FMWave

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for FMWave

Source§

fn default() -> FMWave

Returns the “default value” for a type. Read more
Source§

impl From<FMWave> for u8

Source§

fn from(enum_value: FMWave) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for FMWave

Source§

fn eq(&self, other: &FMWave) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<u8> for FMWave

Source§

type Error = TryFromPrimitiveError<FMWave>

The type returned in the event of a conversion error.
Source§

fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for FMWave

Source§

impl Copy for FMWave

Source§

impl StructuralPartialEq for FMWave

Auto Trait Implementations§

§

impl Freeze for FMWave

§

impl RefUnwindSafe for FMWave

§

impl Send for FMWave

§

impl Sync for FMWave

§

impl Unpin for FMWave

§

impl UnwindSafe for FMWave

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.