Searched refs:RangeTo (Results 1 – 11 of 11) sorted by relevance
/external/rust/crates/url/src/ |
D | slicing.rs | 10 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()
|
D | lib.rs | 142 use std::ops::{Range, RangeFrom, RangeTo}; 2604 impl RangeArg for RangeTo<u32> { implementation
|
/external/rust/crates/bytes/src/buf/ |
D | uninit_slice.rs | 4 Index, IndexMut, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive, 174 RangeTo<usize>,
|
/external/rust/crates/nom/src/combinator/ |
D | mod.rs | 13 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/ |
D | streaming.rs | 6 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()
|
D | complete.rs | 6 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/ |
D | complete.rs | 7 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()
|
D | streaming.rs | 7 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/ |
D | impls.rs | 469 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/ |
D | traits.rs | 5 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/ |
D | lib.rs | 40 use core::ops::{Range, RangeBounds, RangeFrom, RangeInclusive, RangeTo, RangeToInclusive}; 454 RangeTo<A>, 455 |r: &RangeTo<A>| r.end.clone(),
|