Effect

Enum Effect 

Source
pub enum Effect {
Show 123 variants StrongClick100 = 1, StrongClick60 = 2, StrongClick30 = 3, SharpClick100 = 4, SharpClick60 = 5, SharpClick30 = 6, SoftBump100 = 7, SoftBump60 = 8, SoftBump30 = 9, DoubleClick100 = 10, DoubleClick60 = 11, TripleClick100 = 12, SoftFuzz60 = 13, StrongBuzz100 = 14, Alert750ms = 15, Alert1000ms = 16, StrongClickOne100 = 17, StrongClickTwo80 = 18, StrongClickThree60 = 19, StrongClickFour30 = 20, MediumClickOne100 = 21, MediumClickTwo80 = 22, MediumClickThree60 = 23, SharpTickOne100 = 24, SharpTickTwo80 = 25, SharpTickThree60 = 26, ShortDoubleClickStrongOne100 = 27, ShortDoubleClickStrongTwo80 = 28, ShortDoubleClickStrongThree60 = 29, ShortDoubleClickStrongFour30 = 30, ShortDoubleClickMediumOne100 = 31, ShortDoubleClickMediumTwo80 = 32, ShortDoubleClickMediumThree60 = 33, ShortDoubleSharpTickOne100 = 34, ShortDoubleSharpTickTwo80 = 35, ShortDoubleSharpTickThree60 = 36, LongDoubleSharpClickStrongOne100 = 37, LongDoubleSharpClickStrongTwo80 = 38, LongDoubleSharpClickStrongThree60 = 39, LongDoubleSharpClickStrongFour30 = 40, LongDoubleSharpClickMediumOne100 = 41, LongDoubleSharpClickMediumTwo80 = 42, LongDoubleSharpClickMediumThree60 = 43, LongDoubleSharpTickOne100 = 44, LongDoubleSharpTickTwo80 = 45, LongDoubleSharpTickThree60 = 46, BuzzOne100 = 47, BuzzTwo80 = 48, BuzzThree60 = 49, BuzzFour40 = 50, BuzzFive20 = 51, PulsingStrongOne100 = 52, PulsingStrongTwo60 = 53, PulsingMediumOne100 = 54, PulsingMediumTwo60 = 55, PulsingSharpOne100 = 56, PulsingSharpTwo60 = 57, TransitionClickOne100 = 58, TransitionClickTwo80 = 59, TransitionClickThree60 = 60, TransitionClickFour40 = 61, TransitionClickFive20 = 62, TransitionClickSix10 = 63, TransitionHumOne100 = 64, TransitionHumTwo80 = 65, TransitionHumThree60 = 66, TransitionHumFour40 = 67, TransitionHumFive20 = 68, TransitionHumSix10 = 69, TransitionRampDownLongSmoothOne100to0 = 70, TransitionRampDownLongSmoothTwo100to0 = 71, TransitionRampDownMediumSmoothOne100to0 = 72, TransitionRampDownMediumSmoothTwo100to0 = 73, TransitionRampDownShortSmoothOne100to0 = 74, TransitionRampDownShortSmoothTwo100to0 = 75, TransitionRampDownLongSharpOne100to0 = 76, TransitionRampDownLongSharpTwo100to0 = 77, TransitionRampDownMediumSharpOne100to0 = 78, TransitionRampDownMediumSharpTwo100to0 = 79, TransitionRampDownShortSharpOne100to0 = 80, TransitionRampDownShortSharpTwo100to0 = 81, TransitionRampUpLongSmoothOne0to100 = 82, TransitionRampUpLongSmoothTwo0to100 = 83, TransitionRampUpMediumSmoothOne0to100 = 84, TransitionRampUpMediumSmoothTwo0to100 = 85, TransitionRampUpShortSmoothOne0to100 = 86, TransitionRampUpShortSmoothTwo0to100 = 87, TransitionRampUpLongSharpOne0to100 = 88, TransitionRampUpLongSharpTwo0to100 = 89, TransitionRampUpMediumSharpOne0to100 = 90, TransitionRampUpMediumSharpTwo0to100 = 91, TransitionRampUpShortSharpOne0to100 = 92, TransitionRampUpShortSharpTwo0to100 = 93, TransitionRampDownLongSmoothOne50to0 = 94, TransitionRampDownLongSmoothTwo50to0 = 95, TransitionRampDownMediumSmoothOne50to0 = 96, TransitionRampDownMediumSmoothTwo50to0 = 97, TransitionRampDownShortSmoothOne50to0 = 98, TransitionRampDownShortSmoothTwo50to0 = 99, TransitionRampDownLongSharpOne50to0 = 100, TransitionRampDownLongSharpTwo50to0 = 101, TransitionRampDownMediumSharpOne50to0 = 102, TransitionRampDownMediumSharpTwo50to0 = 103, TransitionRampDownShortSharpOne50to0 = 104, TransitionRampDownShortSharpTwo50to0 = 105, TransitionRampUpLongSmoothOne0to50 = 106, TransitionRampUpLongSmoothTwo0to50 = 107, TransitionRampUpMediumSmoothOne0to50 = 108, TransitionRampUpMediumSmoothTwo0to50 = 109, TransitionRampUpShortSmoothOne0to50 = 110, TransitionRampUpShortSmoothTwo0to50 = 111, TransitionRampUpLongSharpOne0to50 = 112, TransitionRampUpLongSharpTwo0to50 = 113, TransitionRampUpMediumSharpOne0to50 = 114, TransitionRampUpMediumSharpTwo0to50 = 115, TransitionRampUpShortSharpOne0to50 = 116, TransitionRampUpShortSharpTwo0to50 = 117, LongBuzzForProgrammaticStopping100 = 118, SmoothHumOne50 = 119, SmoothHumTwo40 = 120, SmoothHumThree30 = 121, SmoothHumFour20 = 122, SmoothHumFive10 = 123,
}
Expand description

Identifies which of the waveforms from the ROM library that should be played in a given waveform slot.

Variants§

§

StrongClick100 = 1

Strong Click - 100%

§

StrongClick60 = 2

Strong Click - 60%

§

StrongClick30 = 3

Strong Click - 30%

§

SharpClick100 = 4

Sharp Click - 100%

§

SharpClick60 = 5

Sharp Click - 60%

§

SharpClick30 = 6

Sharp Click - 30%

§

SoftBump100 = 7

Soft Bump - 100%

§

SoftBump60 = 8

Soft Bump - 60%

§

SoftBump30 = 9

Soft Bump - 30%

§

DoubleClick100 = 10

Double Click - 100%

§

DoubleClick60 = 11

Double Click - 60%

§

TripleClick100 = 12

Triple Click - 100%

§

SoftFuzz60 = 13

Soft Fuzz - 60%

§

StrongBuzz100 = 14

Strong Buzz - 100%

§

Alert750ms = 15

750 ms Alert 100%

§

Alert1000ms = 16

1000 ms Alert 100%

§

StrongClickOne100 = 17

Strong Click 1 - 100%

§

StrongClickTwo80 = 18

Strong Click 2 - 80%

§

StrongClickThree60 = 19

Strong Click 3 - 60%

§

StrongClickFour30 = 20

Strong Click 4 - 30%

§

MediumClickOne100 = 21

Medium Click 1 - 100%

§

MediumClickTwo80 = 22

Medium Click 2 - 80%

§

MediumClickThree60 = 23

Medium Click 3 - 60%

§

SharpTickOne100 = 24

Sharp Tick 1 - 100%

§

SharpTickTwo80 = 25

Sharp Tick 2 - 80%

§

SharpTickThree60 = 26

Sharp Tick 3 - 60%

§

ShortDoubleClickStrongOne100 = 27

Short Double Click Strong 1 - 100%

§

ShortDoubleClickStrongTwo80 = 28

Short Double Click Strong 2 - 80%

§

ShortDoubleClickStrongThree60 = 29

Short Double Click Strong 3 - 60%

§

ShortDoubleClickStrongFour30 = 30

Short Double Click Strong 4 - 30%

§

ShortDoubleClickMediumOne100 = 31

Short Double Click Medium 1 - 100%

§

ShortDoubleClickMediumTwo80 = 32

Short Double Click Medium 2 - 80%

§

ShortDoubleClickMediumThree60 = 33

Short Double Click Medium 3 - 60%

§

ShortDoubleSharpTickOne100 = 34

Short Double Sharp Tick 1 - 100%

§

ShortDoubleSharpTickTwo80 = 35

Short Double Sharp Tick 2 - 80%

§

ShortDoubleSharpTickThree60 = 36

Short Double Sharp Tick 3 - 60%

§

LongDoubleSharpClickStrongOne100 = 37

Long Double Sharp Click Strong 1 - 100%

§

LongDoubleSharpClickStrongTwo80 = 38

Long Double Sharp Click Strong 2 - 80%

§

LongDoubleSharpClickStrongThree60 = 39

Long Double Sharp Click Strong 3 - 60%

§

LongDoubleSharpClickStrongFour30 = 40

Long Double Sharp Click Strong 4 - 30%

§

LongDoubleSharpClickMediumOne100 = 41

Long Double Sharp Click Medium 1 - 100%

§

LongDoubleSharpClickMediumTwo80 = 42

Long Double Sharp Click Medium 2 - 80%

§

LongDoubleSharpClickMediumThree60 = 43

Long Double Sharp Click Medium 3 - 60%

§

LongDoubleSharpTickOne100 = 44

Long Double Sharp Tick 1 - 100%

§

LongDoubleSharpTickTwo80 = 45

Long Double Sharp Tick 2 - 80%

§

LongDoubleSharpTickThree60 = 46

Long Double Sharp Tick 3 - 60%

§

BuzzOne100 = 47

Buzz 1 - 100%

§

BuzzTwo80 = 48

Buzz 2 - 80%

§

BuzzThree60 = 49

Buzz 3 - 60%

§

BuzzFour40 = 50

Buzz 4 - 40%

§

BuzzFive20 = 51

Buzz 5 - 20%

§

PulsingStrongOne100 = 52

Pulsing Strong 1 - 100%

§

PulsingStrongTwo60 = 53

Pulsing Strong 2 - 60%

§

PulsingMediumOne100 = 54

Pulsing Medium 1 - 100%

§

PulsingMediumTwo60 = 55

Pulsing Medium 2 - 60%

§

PulsingSharpOne100 = 56

Pulsing Sharp 1 - 100%

§

PulsingSharpTwo60 = 57

Pulsing Sharp 2 - 60%

§

TransitionClickOne100 = 58

Transition Click 1 - 100%

§

TransitionClickTwo80 = 59

Transition Click 2 - 80%

§

TransitionClickThree60 = 60

Transition Click 3 - 60%

§

TransitionClickFour40 = 61

Transition Click 4 - 40%

§

TransitionClickFive20 = 62

Transition Click 5 - 20%

§

TransitionClickSix10 = 63

Transition Click 6 - 10%

§

TransitionHumOne100 = 64

Transition Hum 1 - 100%

§

TransitionHumTwo80 = 65

Transition Hum 2 - 80%

§

TransitionHumThree60 = 66

Transition Hum 3 - 60%

§

TransitionHumFour40 = 67

Transition Hum 4 - 40%

§

TransitionHumFive20 = 68

Transition Hum 5 - 20%

§

TransitionHumSix10 = 69

Transition Hum 6 - 10%

§

TransitionRampDownLongSmoothOne100to0 = 70

Transition Ramp Down Long Smooth 1 - 100 to 0%

§

TransitionRampDownLongSmoothTwo100to0 = 71

Transition Ramp Down Long Smooth 2 - 100 to 0%

§

TransitionRampDownMediumSmoothOne100to0 = 72

Transition Ramp Down Medium Smooth 1 - 100 to 0%

§

TransitionRampDownMediumSmoothTwo100to0 = 73

Transition Ramp Down Medium Smooth 2 - 100 to 0%

§

TransitionRampDownShortSmoothOne100to0 = 74

Transition Ramp Down Short Smooth 1 - 100 to 0%

§

TransitionRampDownShortSmoothTwo100to0 = 75

Transition Ramp Down Short Smooth 2 - 100 to 0%

§

TransitionRampDownLongSharpOne100to0 = 76

Transition Ramp Down Long Sharp 1 - 100 to 0%

§

TransitionRampDownLongSharpTwo100to0 = 77

Transition Ramp Down Long Sharp 2 - 100 to 0%

§

TransitionRampDownMediumSharpOne100to0 = 78

Transition Ramp Down Medium Sharp 1 - 100 to 0%

§

TransitionRampDownMediumSharpTwo100to0 = 79

Transition Ramp Down Medium Sharp 2 - 100 to 0%

§

TransitionRampDownShortSharpOne100to0 = 80

Transition Ramp Down Short Sharp 1 - 100 to 0%

§

TransitionRampDownShortSharpTwo100to0 = 81

Transition Ramp Down Short Sharp 2 - 100 to 0%

§

TransitionRampUpLongSmoothOne0to100 = 82

Transition Ramp Up Long Smooth 1 - 0 to 100%

§

TransitionRampUpLongSmoothTwo0to100 = 83

Transition Ramp Up Long Smooth 2 - 0 to 100%

§

TransitionRampUpMediumSmoothOne0to100 = 84

Transition Ramp Up Medium Smooth 1 - 0 to 100%

§

TransitionRampUpMediumSmoothTwo0to100 = 85

Transition Ramp Up Medium Smooth 2 - 0 to 100%

§

TransitionRampUpShortSmoothOne0to100 = 86

Transition Ramp Up Short Smooth 1 - 0 to 100%

§

TransitionRampUpShortSmoothTwo0to100 = 87

Transition Ramp Up Short Smooth 2 - 0 to 100%

§

TransitionRampUpLongSharpOne0to100 = 88

Transition Ramp Up Long Sharp 1 - 0 to 100%

§

TransitionRampUpLongSharpTwo0to100 = 89

Transition Ramp Up Long Sharp 2 - 0 to 100%

§

TransitionRampUpMediumSharpOne0to100 = 90

Transition Ramp Up Medium Sharp 1 - 0 to 100%

§

TransitionRampUpMediumSharpTwo0to100 = 91

Transition Ramp Up Medium Sharp 2 - 0 to 100%

§

TransitionRampUpShortSharpOne0to100 = 92

Transition Ramp Up Short Sharp 1 - 0 to 100%

§

TransitionRampUpShortSharpTwo0to100 = 93

Transition Ramp Up Short Sharp 2 - 0 to 100%

§

TransitionRampDownLongSmoothOne50to0 = 94

Transition Ramp Down Long Smooth 1 - 50 to 0%

§

TransitionRampDownLongSmoothTwo50to0 = 95

Transition Ramp Down Long Smooth 2 - 50 to 0%

§

TransitionRampDownMediumSmoothOne50to0 = 96

Transition Ramp Down Medium Smooth 1 - 50 to 0%

§

TransitionRampDownMediumSmoothTwo50to0 = 97

Transition Ramp Down Medium Smooth 2 - 50 to 0%

§

TransitionRampDownShortSmoothOne50to0 = 98

Transition Ramp Down Short Smooth 1 - 50 to 0%

§

TransitionRampDownShortSmoothTwo50to0 = 99

Transition Ramp Down Short Smooth 2 - 50 to 0%

§

TransitionRampDownLongSharpOne50to0 = 100

Transition Ramp Down Long Sharp 1 - 50 to 0%

§

TransitionRampDownLongSharpTwo50to0 = 101

Transition Ramp Down Long Sharp 2 - 50 to 0%

§

TransitionRampDownMediumSharpOne50to0 = 102

Transition Ramp Down Medium Sharp 1 - 50 to 0%

§

TransitionRampDownMediumSharpTwo50to0 = 103

Transition Ramp Down Medium Sharp 2 - 50 to 0%

§

TransitionRampDownShortSharpOne50to0 = 104

Transition Ramp Down Short Sharp 1 - 50 to 0%

§

TransitionRampDownShortSharpTwo50to0 = 105

Transition Ramp Down Short Sharp 2 - 50 to 0%

§

TransitionRampUpLongSmoothOne0to50 = 106

Transition Ramp Up Long Smooth 1 - 0 to 50%

§

TransitionRampUpLongSmoothTwo0to50 = 107

Transition Ramp Up Long Smooth 2 - 0 to 50%

§

TransitionRampUpMediumSmoothOne0to50 = 108

Transition Ramp Up Medium Smooth 1 - 0 to 50%

§

TransitionRampUpMediumSmoothTwo0to50 = 109

Transition Ramp Up Medium Smooth 2 - 0 to 50%

§

TransitionRampUpShortSmoothOne0to50 = 110

Transition Ramp Up Short Smooth 1 - 0 to 50%

§

TransitionRampUpShortSmoothTwo0to50 = 111

Transition Ramp Up Short Smooth 2 - 0 to 50%

§

TransitionRampUpLongSharpOne0to50 = 112

Transition Ramp Up Long Sharp 1 - 0 to 50%

§

TransitionRampUpLongSharpTwo0to50 = 113

Transition Ramp Up Long Sharp 2 - 0 to 50%

§

TransitionRampUpMediumSharpOne0to50 = 114

Transition Ramp Up Medium Sharp 1 - 0 to 50%

§

TransitionRampUpMediumSharpTwo0to50 = 115

Transition Ramp Up Medium Sharp 2 - 0 to 50%

§

TransitionRampUpShortSharpOne0to50 = 116

Transition Ramp Up Short Sharp 1 - 0 to 50%

§

TransitionRampUpShortSharpTwo0to50 = 117

Transition Ramp Up Short Sharp 2 - 0 to 50%

§

LongBuzzForProgrammaticStopping100 = 118

Long Buzz For Programmatic Stopping - 100%

§

SmoothHumOne50 = 119

Smooth Hum 1 (No kick or brake pulse) - 50%

§

SmoothHumTwo40 = 120

Smooth Hum 2 (No kick or brake pulse) - 40%

§

SmoothHumThree30 = 121

Smooth Hum 3 (No kick or brake pulse) - 30%

§

SmoothHumFour20 = 122

Smooth Hum 4 (No kick or brake pulse) - 20%

§

SmoothHumFive10 = 123

Smooth Hum 5 (No kick or brake pulse) - 10%

Trait Implementations§

Source§

impl Clone for Effect

Source§

fn clone(&self) -> Effect

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 Effect

Source§

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

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

impl Copy for Effect

Auto Trait Implementations§

§

impl Freeze for Effect

§

impl RefUnwindSafe for Effect

§

impl Send for Effect

§

impl Sync for Effect

§

impl Unpin for Effect

§

impl UnwindSafe for Effect

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, 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.