Lines Matching refs:RandomDigitCount
8 random_count: RandomDigitCount,
12 pub enum RandomDigitCount { enum
23 fn u8_to_enum(digit: u8) -> RandomDigitCount { in u8_to_enum() argument
25 0 => RandomDigitCount::Zero, in u8_to_enum()
26 1 => RandomDigitCount::One, in u8_to_enum()
27 2 => RandomDigitCount::Two, in u8_to_enum()
28 3 => RandomDigitCount::Three, in u8_to_enum()
29 4 => RandomDigitCount::Four, in u8_to_enum()
30 5 => RandomDigitCount::Five, in u8_to_enum()
31 6 => RandomDigitCount::Six, in u8_to_enum()
32 _ => RandomDigitCount::Zero, in u8_to_enum()
54 pub fn new(random_digit_count: RandomDigitCount) -> Self { in new()
116 let id = Uuid::new(super::RandomDigitCount::Four); in test_uuid()