Home
last modified time | relevance | path

Searched refs:RangeTo (Results 1 – 10 of 10) sorted by relevance

/third_party/rust/crates/clap/src/builder/
Drange.rs149 impl From<std::ops::RangeTo<usize>> for ValueRange {
150 fn from(range: std::ops::RangeTo<usize>) -> Self { in from()
Dvalue_parser.rs410 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/
Dmod.rs15 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/
Dcomplete.rs10 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()
Dstreaming.rs9 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/
Dstreaming.rs10 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()
Dcomplete.rs10 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/
Draw_str.rs17 use std::ops::RangeTo;
1450 r#impl!(RangeTo<usize>, x, x.end); implementation
/third_party/rust/crates/nom/src/
Dtraits.rs5 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/
Drust-library.rs18281 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 {