Home
last modified time | relevance | path

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

/external/rust/crates/url/src/
Dslicing.rs10 use std::ops::{Index, Range, RangeFrom, RangeFull, RangeTo};
26 impl Index<RangeTo<Position>> for Url {
28 fn index(&self, range: RangeTo<Position>) -> &str { in index()
Dlib.rs142 use std::ops::{Range, RangeFrom, RangeTo};
2604 impl RangeArg for RangeTo<u32> { implementation
/external/rust/crates/bytes/src/buf/
Duninit_slice.rs4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive,
174 RangeTo<usize>,
/external/rust/crates/nom/src/combinator/
Dmod.rs13 use crate::lib::std::ops::{Range, RangeFrom, RangeTo};
33 T: Slice<Range<usize>> + Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in rest()
50 T: Slice<Range<usize>> + Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in rest_len()
574 pub fn recognize<I: Clone + Offset + Slice<RangeTo<usize>>, O, E: ParseError<I>, F>(parser: F) -> i… in recognize()
591 pub fn recognizec<I: Clone + Offset + Slice<RangeTo<usize>>, O, E: ParseError<I>, F>(input: I, pars… in recognizec()
613 pub fn cut<I: Clone + Slice<RangeTo<usize>>, O, E: ParseError<I>, F>(parser: F) -> impl Fn(I) -> IR… in cut()
627 pub fn cutc<I: Clone + Slice<RangeTo<usize>>, O, E: ParseError<I>, F>(input: I, parser: F) -> IResu… in cutc()
/external/rust/crates/nom/src/number/
Dstreaming.rs6 use crate::lib::std::ops::{RangeFrom, RangeTo};
748 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in recognize_float()
791 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in float()
864 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in double()
Dcomplete.rs6 use crate::lib::std::ops::{RangeFrom, RangeTo};
751 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in recognize_float()
794 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in float()
861 T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in double()
/external/rust/crates/nom/src/character/
Dcomplete.rs7 use crate::lib::std::ops::{Range, RangeFrom, RangeTo};
116 T: Slice<Range<usize>> + Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in crlf()
152 T: Slice<Range<usize>> + Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in not_line_ending()
207 T: Slice<Range<usize>> + Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in line_ending()
Dstreaming.rs7 use crate::lib::std::ops::{Range, RangeFrom, RangeTo};
118 T: Slice<Range<usize>> + Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in crlf()
150 T: Slice<Range<usize>> + Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in not_line_ending()
202 T: Slice<Range<usize>> + Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>, in line_ending()
/external/rust/crates/bstr/src/
Dimpls.rs469 impl ops::Index<ops::RangeTo<usize>> for BStr {
473 fn index(&self, r: ops::RangeTo<usize>) -> &BStr { in index()
522 impl ops::IndexMut<ops::RangeTo<usize>> for BStr {
524 fn index_mut(&mut self, r: ops::RangeTo<usize>) -> &mut BStr { in index_mut()
/external/rust/crates/nom/src/
Dtraits.rs5 use crate::lib::std::ops::{Range, RangeFrom, RangeFull, RangeTo};
921 slice_range_impl! {[$for_type], RangeTo<usize>}
927 slice_range_impl! {$for_type, RangeTo<usize>}
/external/rust/crates/arbitrary/src/
Dlib.rs40 use core::ops::{Range, RangeBounds, RangeFrom, RangeInclusive, RangeTo, RangeToInclusive};
454 RangeTo<A>,
455 |r: &RangeTo<A>| r.end.clone(),