pub enum Length {
Show 129 variants
_128th,
_D188,
_64th,
_D313,
_D375,
_D438,
_32nd,
_D563,
_D625,
_D688,
_D750,
_D813,
_D875,
_D938,
_16th,
_1D06,
_1D13,
_1D19,
_1D25,
_1D31,
_1D38,
_1D44,
_1D50,
_1D56,
_1D63,
_1D69,
_1D75,
_1D81,
_1D88,
_1D94,
_8th,
_2D13,
_2D25,
_2D38,
_2D50,
_2D63,
_2D75,
_2D88,
_3,
_3D13,
_3D25,
_3D38,
_3D50,
_3D63,
_3D75,
_3D88,
Quarter,
_4D25,
_4D50,
_4D75,
_5,
_5D25,
_5D50,
_5D75,
_6,
_6D25,
_6D50,
_6D75,
_7,
_7D25,
_7D50,
_7D75,
Half,
_8D50,
_9,
_9D50,
_10,
_10D5,
_11,
_11D5,
_12,
_12D5,
_13,
_13D5,
_14,
_14D5,
_15,
_15D5,
Whole,
_17,
_18,
_19,
_20,
_21,
_22,
_23,
_24,
_25,
_26,
_27,
_28,
_29,
_30,
_31,
DoubleWhole,
_34,
_36,
_38,
_40,
_42,
_44,
_46,
_48,
_50,
_52,
_54,
_56,
_58,
_60,
_62,
_64,
_68,
_72,
_76,
_80,
_84,
_88,
_92,
_96,
_100,
_104,
_108,
_112,
_116,
_120,
_124,
_128,
Infinite,
Unset,
}
Expand description
Length type which can be used for note lengths and retrig lengths.
Variants§
_128th
1/128
_D188
.188
_64th
1/64
_D313
.313
_D375
.375
_D438
.438
_32nd
1/32
_D563
.563
_D625
.625
_D688
.688
_D750
.75
_D813
.813
_D875
.875
_D938
.938
_16th
1/16
_1D06
1.06
_1D13
1.13
_1D19
1.19
_1D25
1.25
_1D31
1.31
_1D38
1.38
_1D44
1.44
_1D50
1.5
_1D56
1.56
_1D63
1.63
_1D69
1.69
_1D75
1.75
_1D81
1.81
_1D88
1.88
_1D94
1.94
_8th
1/8
_2D13
2.13
_2D25
2.25
_2D38
2.38
_2D50
2.5
_2D63
2.63
_2D75
2.75
_2D88
2.88
_3
3
_3D13
3.13
_3D25
3.25
_3D38
3.38
_3D50
3.5
_3D63
3.63
_3D75
3.75
_3D88
3.88
Quarter
1/4
_4D25
4.25
_4D50
4.5
_4D75
4.75
_5
5
_5D25
5.25
_5D50
5.5
_5D75
5.75
_6
6
_6D25
6.25
_6D50
6.5
_6D75
6.75
_7
7
_7D25
7.25
_7D50
7.5
_7D75
7.75
Half
1/2
_8D50
8.5
_9
9
_9D50
9.5
_10
10
_10D5
10.5
_11
11
_11D5
11.5
_12
12
_12D5
12.5
_13
13
_13D5
13.5
_14
14
_14D5
14.5
_15
15
_15D5
15.5
Whole
1/1
_17
17
_18
18
_19
19
_20
20
_21
21
_22
22
_23
23
_24
24
_25
25
_26
26
_27
27
_28
28
_29
29
_30
30
_31
31
DoubleWhole
32
_34
34
_36
36
_38
38
_40
40
_42
42
_44
44
_46
46
_48
48
_50
50
_52
52
_54
54
_56
56
_58
58
_60
60
_62
62
_64
64
_68
68
_72
72
_76
76
_80
80
_84
84
_88
88
_92
92
_96
96
_100
100
_104
104
_108
108
_112
112
_116
116
_120
120
_124
124
_128
128
Infinite
inf
Unset
Default value for unset values.
`0xFF``
Trait Implementations§
source§impl<'de> Deserialize<'de> for Length
impl<'de> Deserialize<'de> for Length
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Length
impl Ord for Length
source§impl PartialEq for Length
impl PartialEq for Length
source§impl PartialOrd for Length
impl PartialOrd for Length
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Length
impl Eq for Length
impl StructuralEq for Length
impl StructuralPartialEq for Length
Auto Trait Implementations§
impl RefUnwindSafe for Length
impl Send for Length
impl Sync for Length
impl Unpin for Length
impl UnwindSafe for Length
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