Value

Trait Value 

Source
pub trait Value {
    const VALUE: u32;
}
Expand description

A u32 value, wrapped in a trait because we don’t yet have const generics.

Required Associated Constants§

Source

const VALUE: u32

The actual value represented by the impl’ing type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Value for _0

Source§

const VALUE: u32 = 0u32

Source§

impl Value for _1

Source§

const VALUE: u32 = 1u32

Source§

impl Value for _2

Source§

const VALUE: u32 = 2u32

Source§

impl Value for _3

Source§

const VALUE: u32 = 3u32

Source§

impl Value for _4

Source§

const VALUE: u32 = 4u32

Source§

impl Value for _5

Source§

const VALUE: u32 = 5u32

Source§

impl Value for _6

Source§

const VALUE: u32 = 6u32

Source§

impl Value for _7

Source§

const VALUE: u32 = 7u32

Source§

impl Value for _8

Source§

const VALUE: u32 = 8u32

Source§

impl Value for _9

Source§

const VALUE: u32 = 9u32

Source§

impl Value for _10

Source§

const VALUE: u32 = 10u32

Source§

impl Value for _11

Source§

const VALUE: u32 = 11u32

Source§

impl Value for _12

Source§

const VALUE: u32 = 12u32

Source§

impl Value for _13

Source§

const VALUE: u32 = 13u32

Source§

impl Value for _14

Source§

const VALUE: u32 = 14u32

Source§

impl Value for _15

Source§

const VALUE: u32 = 15u32

Source§

impl Value for _16

Source§

const VALUE: u32 = 16u32

Source§

impl Value for _17

Source§

const VALUE: u32 = 17u32

Source§

impl Value for _18

Source§

const VALUE: u32 = 18u32

Source§

impl Value for _19

Source§

const VALUE: u32 = 19u32

Source§

impl Value for _20

Source§

const VALUE: u32 = 20u32

Source§

impl Value for _21

Source§

const VALUE: u32 = 21u32

Source§

impl Value for _22

Source§

const VALUE: u32 = 22u32

Source§

impl Value for _23

Source§

const VALUE: u32 = 23u32

Source§

impl Value for _24

Source§

const VALUE: u32 = 24u32

Source§

impl Value for _25

Source§

const VALUE: u32 = 25u32

Source§

impl Value for _26

Source§

const VALUE: u32 = 26u32

Source§

impl Value for _27

Source§

const VALUE: u32 = 27u32

Source§

impl Value for _28

Source§

const VALUE: u32 = 28u32

Source§

impl Value for _29

Source§

const VALUE: u32 = 29u32

Source§

impl Value for _30

Source§

const VALUE: u32 = 30u32

Source§

impl Value for _31

Source§

const VALUE: u32 = 31u32

Source§

impl Value for _32

Source§

const VALUE: u32 = 32u32

Source§

impl Value for _33

Source§

const VALUE: u32 = 33u32

Source§

impl Value for _34

Source§

const VALUE: u32 = 34u32

Source§

impl Value for _35

Source§

const VALUE: u32 = 35u32

Source§

impl Value for _36

Source§

const VALUE: u32 = 36u32

Source§

impl Value for _37

Source§

const VALUE: u32 = 37u32

Source§

impl Value for _38

Source§

const VALUE: u32 = 38u32

Source§

impl Value for _39

Source§

const VALUE: u32 = 39u32

Source§

impl Value for _40

Source§

const VALUE: u32 = 40u32

Source§

impl Value for _41

Source§

const VALUE: u32 = 41u32

Source§

impl Value for _42

Source§

const VALUE: u32 = 42u32

Source§

impl Value for _43

Source§

const VALUE: u32 = 43u32

Source§

impl Value for _44

Source§

const VALUE: u32 = 44u32

Source§

impl Value for _45

Source§

const VALUE: u32 = 45u32

Source§

impl Value for _46

Source§

const VALUE: u32 = 46u32

Source§

impl Value for _47

Source§

const VALUE: u32 = 47u32

Source§

impl Value for _48

Source§

const VALUE: u32 = 48u32

Source§

impl Value for _49

Source§

const VALUE: u32 = 49u32

Source§

impl Value for _50

Source§

const VALUE: u32 = 50u32

Source§

impl Value for _51

Source§

const VALUE: u32 = 51u32

Source§

impl Value for _52

Source§

const VALUE: u32 = 52u32

Source§

impl Value for _53

Source§

const VALUE: u32 = 53u32

Source§

impl Value for _54

Source§

const VALUE: u32 = 54u32

Source§

impl Value for _55

Source§

const VALUE: u32 = 55u32

Source§

impl Value for _56

Source§

const VALUE: u32 = 56u32

Source§

impl Value for _57

Source§

const VALUE: u32 = 57u32

Source§

impl Value for _58

Source§

const VALUE: u32 = 58u32

Source§

impl Value for _59

Source§

const VALUE: u32 = 59u32

Source§

impl Value for _60

Source§

const VALUE: u32 = 60u32

Source§

impl Value for _61

Source§

const VALUE: u32 = 61u32

Source§

impl Value for _62

Source§

const VALUE: u32 = 62u32

Source§

impl Value for _63

Source§

const VALUE: u32 = 63u32

Source§

impl Value for _64

Source§

const VALUE: u32 = 64u32

Source§

impl Value for _65

Source§

const VALUE: u32 = 65u32

Source§

impl Value for _66

Source§

const VALUE: u32 = 66u32

Source§

impl Value for _67

Source§

const VALUE: u32 = 67u32

Source§

impl Value for _68

Source§

const VALUE: u32 = 68u32

Source§

impl Value for _69

Source§

const VALUE: u32 = 69u32

Source§

impl Value for _70

Source§

const VALUE: u32 = 70u32

Source§

impl Value for _71

Source§

const VALUE: u32 = 71u32

Source§

impl Value for _72

Source§

const VALUE: u32 = 72u32

Source§

impl Value for _73

Source§

const VALUE: u32 = 73u32

Source§

impl Value for _74

Source§

const VALUE: u32 = 74u32

Source§

impl Value for _75

Source§

const VALUE: u32 = 75u32

Source§

impl Value for _76

Source§

const VALUE: u32 = 76u32

Source§

impl Value for _77

Source§

const VALUE: u32 = 77u32

Source§

impl Value for _78

Source§

const VALUE: u32 = 78u32

Source§

impl Value for _79

Source§

const VALUE: u32 = 79u32

Source§

impl Value for _80

Source§

const VALUE: u32 = 80u32

Source§

impl Value for _81

Source§

const VALUE: u32 = 81u32

Source§

impl Value for _82

Source§

const VALUE: u32 = 82u32

Source§

impl Value for _83

Source§

const VALUE: u32 = 83u32

Source§

impl Value for _84

Source§

const VALUE: u32 = 84u32

Source§

impl Value for _85

Source§

const VALUE: u32 = 85u32

Source§

impl Value for _86

Source§

const VALUE: u32 = 86u32

Source§

impl Value for _87

Source§

const VALUE: u32 = 87u32

Source§

impl Value for _88

Source§

const VALUE: u32 = 88u32

Source§

impl Value for _89

Source§

const VALUE: u32 = 89u32

Source§

impl Value for _90

Source§

const VALUE: u32 = 90u32

Source§

impl Value for _91

Source§

const VALUE: u32 = 91u32

Source§

impl Value for _92

Source§

const VALUE: u32 = 92u32

Source§

impl Value for _93

Source§

const VALUE: u32 = 93u32

Source§

impl Value for _94

Source§

const VALUE: u32 = 94u32

Source§

impl Value for _95

Source§

const VALUE: u32 = 95u32

Source§

impl Value for _96

Source§

const VALUE: u32 = 96u32

Source§

impl Value for _97

Source§

const VALUE: u32 = 97u32

Source§

impl Value for _98

Source§

const VALUE: u32 = 98u32

Source§

impl Value for _99

Source§

const VALUE: u32 = 99u32

Source§

impl Value for _100

Source§

const VALUE: u32 = 100u32

Source§

impl Value for _112

Source§

const VALUE: u32 = 112u32

Source§

impl Value for _128

Source§

const VALUE: u32 = 128u32

Source§

impl Value for _160

Source§

const VALUE: u32 = 160u32

Source§

impl Value for _192

Source§

const VALUE: u32 = 192u32

Source§

impl Value for _224

Source§

const VALUE: u32 = 224u32

Source§

impl Value for _256

Source§

const VALUE: u32 = 256u32

Source§

impl Value for _384

Source§

const VALUE: u32 = 384u32

Source§

impl Value for _512

Source§

const VALUE: u32 = 512u32