#[non_exhaustive]#[repr(u8)]pub enum ModSegment {
Show 100 variants
M00 = 0,
M01 = 1,
M02 = 2,
M03 = 3,
M04 = 4,
M05 = 5,
M06 = 6,
M07 = 7,
M08 = 8,
M09 = 9,
M10 = 10,
M11 = 11,
M12 = 12,
M13 = 13,
M14 = 14,
M15 = 15,
M16 = 16,
M17 = 17,
M18 = 18,
M19 = 19,
M20 = 20,
M21 = 21,
M22 = 22,
M23 = 23,
M24 = 24,
M25 = 25,
M26 = 26,
M27 = 27,
M28 = 28,
M29 = 29,
M30 = 30,
M31 = 31,
M32 = 32,
M33 = 33,
M34 = 34,
M35 = 35,
M36 = 36,
M37 = 37,
M38 = 38,
M39 = 39,
M40 = 40,
M41 = 41,
M42 = 42,
M43 = 43,
M44 = 44,
M45 = 45,
M46 = 46,
M47 = 47,
M48 = 48,
M49 = 49,
M50 = 50,
M51 = 51,
M52 = 52,
M53 = 53,
M54 = 54,
M55 = 55,
M56 = 56,
M57 = 57,
M58 = 58,
M59 = 59,
M60 = 60,
M61 = 61,
M62 = 62,
M63 = 63,
M64 = 64,
M65 = 65,
M66 = 66,
M67 = 67,
M68 = 68,
M69 = 69,
M70 = 70,
M71 = 71,
M72 = 72,
M73 = 73,
M74 = 74,
M75 = 75,
M76 = 76,
M77 = 77,
M78 = 78,
M79 = 79,
M80 = 80,
M81 = 81,
M82 = 82,
M83 = 83,
M84 = 84,
M85 = 85,
M86 = 86,
M87 = 87,
M88 = 88,
M89 = 89,
M90 = 90,
M91 = 91,
M92 = 92,
M93 = 93,
M94 = 94,
M95 = 95,
M96 = 96,
M97 = 97,
M98 = 98,
M99 = 99,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
M00 = 0
M01 = 1
M02 = 2
M03 = 3
M04 = 4
M05 = 5
M06 = 6
M07 = 7
M08 = 8
M09 = 9
M10 = 10
M11 = 11
M12 = 12
M13 = 13
M14 = 14
M15 = 15
M16 = 16
M17 = 17
M18 = 18
M19 = 19
M20 = 20
M21 = 21
M22 = 22
M23 = 23
M24 = 24
M25 = 25
M26 = 26
M27 = 27
M28 = 28
M29 = 29
M30 = 30
M31 = 31
M32 = 32
M33 = 33
M34 = 34
M35 = 35
M36 = 36
M37 = 37
M38 = 38
M39 = 39
M40 = 40
M41 = 41
M42 = 42
M43 = 43
M44 = 44
M45 = 45
M46 = 46
M47 = 47
M48 = 48
M49 = 49
M50 = 50
M51 = 51
M52 = 52
M53 = 53
M54 = 54
M55 = 55
M56 = 56
M57 = 57
M58 = 58
M59 = 59
M60 = 60
M61 = 61
M62 = 62
M63 = 63
M64 = 64
M65 = 65
M66 = 66
M67 = 67
M68 = 68
M69 = 69
M70 = 70
M71 = 71
M72 = 72
M73 = 73
M74 = 74
M75 = 75
M76 = 76
M77 = 77
M78 = 78
M79 = 79
M80 = 80
M81 = 81
M82 = 82
M83 = 83
M84 = 84
M85 = 85
M86 = 86
M87 = 87
M88 = 88
M89 = 89
M90 = 90
M91 = 91
M92 = 92
M93 = 93
M94 = 94
M95 = 95
M96 = 96
M97 = 97
M98 = 98
M99 = 99
Implementations§
Source§impl ModSegment
impl ModSegment
pub const fn new_mod_section(self, name: &'static str) -> ModSection
Trait Implementations§
Source§impl BitOr<ModSegment> for ErrSegment
Append two digits at the end in the form of a decimal literal.
impl BitOr<ModSegment> for ErrSegment
Append two digits at the end in the form of a decimal literal.
Source§impl BitOr<ModSegment> for i32
Append two digits at the end in the form of a decimal literal.
impl BitOr<ModSegment> for i32
Append two digits at the end in the form of a decimal literal.
Source§impl BitOr for ModSegment
Append two digits at the end in the form of a decimal literal.
impl BitOr for ModSegment
Append two digits at the end in the form of a decimal literal.
Source§impl Clone for ModSegment
impl Clone for ModSegment
Source§fn clone(&self) -> ModSegment
fn clone(&self) -> ModSegment
Returns a copy 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 ModSegment
impl Debug for ModSegment
Source§impl Default for ModSegment
impl Default for ModSegment
Source§impl Display for ModSegment
impl Display for ModSegment
Source§impl From<ModSegment> for i32
impl From<ModSegment> for i32
Source§fn from(value: ModSegment) -> Self
fn from(value: ModSegment) -> Self
Converts to this type from the input type.
Source§impl From<ModSegment> for u8
impl From<ModSegment> for u8
Source§fn from(enum_value: ModSegment) -> Self
fn from(enum_value: ModSegment) -> Self
Converts to this type from the input type.
Source§impl Hash for ModSegment
impl Hash for ModSegment
Source§impl PartialEq for ModSegment
impl PartialEq for ModSegment
Source§impl TryFrom<u8> for ModSegment
impl TryFrom<u8> for ModSegment
Source§type Error = TryFromPrimitiveError<ModSegment>
type Error = TryFromPrimitiveError<ModSegment>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ModSegment
impl TryFromPrimitive for ModSegment
const NAME: &'static str = "ModSegment"
type Primitive = u8
type Error = TryFromPrimitiveError<ModSegment>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for ModSegment
impl Eq for ModSegment
impl StructuralPartialEq for ModSegment
Auto Trait Implementations§
impl Freeze for ModSegment
impl RefUnwindSafe for ModSegment
impl Send for ModSegment
impl Sync for ModSegment
impl Unpin for ModSegment
impl UnwindSafe for ModSegment
Blanket Implementations§
Source§impl<Data> ApiSuccessResponse for Data
impl<Data> ApiSuccessResponse for Data
fn api_response<Meta>(self, meta: Option<Meta>) -> ApiResponse<Self, Meta>
fn api_response_without_meta<Meta>(self) -> ApiResponse<Self, Meta>
fn api_response_with_meta<Meta>(self, meta: Meta) -> ApiResponse<Self, Meta>
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