Searched refs:RangeInclusive (Results 1 – 9 of 9) sorted by relevance
1 use std::ops::RangeInclusive;21 const PORT_RANGE: RangeInclusive<usize> = 1..=65535;
1 use std::ops::RangeInclusive;19 const PORT_RANGE: RangeInclusive<usize> = 1..=65535;
157 impl From<std::ops::RangeInclusive<usize>> for ValueRange {158 fn from(range: std::ops::RangeInclusive<usize>) -> Self { in from()
350 impl From<std::ops::RangeInclusive<i64>> for ValueParser {351 fn from(value: std::ops::RangeInclusive<i64>) -> Self { in from()
240 pub use self::core::ops::RangeInclusive;
16 use std::ops::RangeInclusive;1449 r#impl!(RangeInclusive<usize>, x, *x.start(), x.end().wrapping_add(1));
243 impl<Idx> Serialize for RangeInclusive<Idx> implementation
2285 impl<'de, Idx> Deserialize<'de> for RangeInclusive<Idx> implementation2301 Ok(RangeInclusive::new(start, end)) in deserialize()
18308 impl ops::Index<ops::RangeInclusive<usize>> for String {18312 fn index(&self, index: ops::RangeInclusive<usize>) -> &str {18355 impl ops::IndexMut<ops::RangeInclusive<usize>> for String {18357 fn index_mut(&mut self, index: ops::RangeInclusive<usize>) -> &mut str {