Searched refs:RangeTo (Results 1 – 10 of 10) sorted by relevance
/third_party/rust/crates/clap/src/builder/ |
D | range.rs | 149 impl From<std::ops::RangeTo<usize>> for ValueRange { 150 fn from(range: std::ops::RangeTo<usize>) -> Self { in from()
|
D | value_parser.rs | 410 impl From<std::ops::RangeTo<i64>> for ValueParser { 411 fn from(value: std::ops::RangeTo<i64>) -> Self { in from()
|
/third_party/rust/crates/nom/src/combinator/ |
D | mod.rs | 15 use crate::lib::std::ops::{Range, RangeFrom, RangeTo}; 506 pub fn recognize<I: Clone + Offset + Slice<RangeTo<usize>>, O, E: ParseError<I>, F>( in recognize() 563 I: Clone + Offset + Slice<RangeTo<usize>>, in consumed()
|
/third_party/rust/crates/nom/src/number/ |
D | complete.rs | 10 use crate::lib::std::ops::{Range, RangeFrom, RangeTo}; 1388 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in recognize_float() 1415 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in recognize_float_or_exceptions() 1454 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>> + Slice<Range<usize>>, in recognize_float_parts() 1560 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>> + Slice<Range<usize>>, in float() 1613 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>> + Slice<Range<usize>>, in double()
|
D | streaming.rs | 9 use crate::lib::std::ops::{RangeFrom, RangeTo}; 1357 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in recognize_float() 1384 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in recognize_float_or_exceptions() 1423 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in recognize_float_parts() 1532 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in float() 1586 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in double()
|
/third_party/rust/crates/nom/src/character/ |
D | streaming.rs | 10 use crate::lib::std::ops::{Range, RangeFrom, RangeTo}; 142 T: Slice<Range<usize>> + Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in crlf() 173 T: Slice<Range<usize>> + Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in not_line_ending() 220 T: Slice<Range<usize>> + Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in line_ending()
|
D | complete.rs | 10 use crate::lib::std::ops::{Range, RangeFrom, RangeTo}; 179 T: Slice<Range<usize>> + Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in not_line_ending() 229 T: Slice<Range<usize>> + Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in line_ending()
|
/third_party/rust/crates/os_str_bytes/src/ |
D | raw_str.rs | 17 use std::ops::RangeTo; 1450 r#impl!(RangeTo<usize>, x, x.end); implementation
|
/third_party/rust/crates/nom/src/ |
D | traits.rs | 5 use crate::lib::std::ops::{Range, RangeFrom, RangeFull, RangeTo}; 1035 slice_range_impl! {[$for_type], RangeTo<usize>} 1041 slice_range_impl! {$for_type, RangeTo<usize>}
|
/third_party/rust/crates/memchr/bench/data/code/ |
D | rust-library.rs | 18281 impl ops::Index<ops::RangeTo<usize>> for String { 18285 fn index(&self, index: ops::RangeTo<usize>) -> &str { 18334 impl ops::IndexMut<ops::RangeTo<usize>> for String { 18336 fn index_mut(&mut self, index: ops::RangeTo<usize>) -> &mut str {
|