Struct ucglib::parse::precedence::OpListIter [−][src]
Fields
source: &'a [Element]
Methods
impl<'a> OpListIter<'a>[src]
impl<'a> OpListIter<'a>Trait Implementations
impl<'a> Clone for OpListIter<'a>[src]
impl<'a> Clone for OpListIter<'a>fn clone(&self) -> OpListIter<'a>[src]
fn clone(&self) -> OpListIter<'a>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<'a> Debug for OpListIter<'a>[src]
impl<'a> Debug for OpListIter<'a>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> PartialEq for OpListIter<'a>[src]
impl<'a> PartialEq for OpListIter<'a>fn eq(&self, other: &OpListIter<'a>) -> bool[src]
fn eq(&self, other: &OpListIter<'a>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &OpListIter<'a>) -> bool[src]
fn ne(&self, other: &OpListIter<'a>) -> boolThis method tests for !=.
impl<'a> InputLength for OpListIter<'a>[src]
impl<'a> InputLength for OpListIter<'a>fn input_len(&self) -> usize[src]
fn input_len(&self) -> usizecalculates the input length, as indicated by its name, and the name of the trait itself Read more
impl<'a> Slice<Range<usize>> for OpListIter<'a>[src]
impl<'a> Slice<Range<usize>> for OpListIter<'a>impl<'a> Slice<RangeTo<usize>> for OpListIter<'a>[src]
impl<'a> Slice<RangeTo<usize>> for OpListIter<'a>impl<'a> Slice<RangeFrom<usize>> for OpListIter<'a>[src]
impl<'a> Slice<RangeFrom<usize>> for OpListIter<'a>impl<'a> Slice<RangeFull> for OpListIter<'a>[src]
impl<'a> Slice<RangeFull> for OpListIter<'a>impl<'a> Index<usize> for OpListIter<'a>[src]
impl<'a> Index<usize> for OpListIter<'a>type Output = Element
The returned type after indexing.
fn index(&self, i: usize) -> &Self::Output[src]
fn index(&self, i: usize) -> &Self::OutputPerforms the indexing (container[index]) operation.
impl<'a> InputIter for OpListIter<'a>[src]
impl<'a> InputIter for OpListIter<'a>type Item = &'a Element
type RawItem = Element
type Iter = Enumerate<Iter<'a, Self::RawItem>>
type IterElem = Iter<'a, Self::RawItem>
fn iter_indices(&self) -> Self::Iter[src]
fn iter_indices(&self) -> Self::Iterreturns an iterator over the elements and their byte offsets
fn iter_elements(&self) -> Self::IterElem[src]
fn iter_elements(&self) -> Self::IterElemreturns an iterator over the elements
fn position<P>(&self, predicate: P) -> Option<usize> where
P: Fn(Self::RawItem) -> bool, [src]
fn position<P>(&self, predicate: P) -> Option<usize> where
P: Fn(Self::RawItem) -> bool, finds the byte position of the element
fn slice_index(&self, count: usize) -> Option<usize>[src]
fn slice_index(&self, count: usize) -> Option<usize>get the byte offset from the element's position in the stream
Auto Trait Implementations
impl<'a> Send for OpListIter<'a>
impl<'a> Send for OpListIter<'a>impl<'a> Sync for OpListIter<'a>
impl<'a> Sync for OpListIter<'a>