pub struct RangeIterator<N: DomNavigator> { /* private fields */ }Expand description
Iterator over an inclusive integer range (XPath to expression).
Implementations§
Trait Implementations§
Source§impl<N: Clone + DomNavigator> Clone for RangeIterator<N>
impl<N: Clone + DomNavigator> Clone for RangeIterator<N>
Source§fn clone(&self) -> RangeIterator<N>
fn clone(&self) -> RangeIterator<N>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<N: Debug + DomNavigator> Debug for RangeIterator<N>
impl<N: Debug + DomNavigator> Debug for RangeIterator<N>
Source§impl<N: DomNavigator> XmlNodeIterator for RangeIterator<N>
impl<N: DomNavigator> XmlNodeIterator for RangeIterator<N>
Source§fn current(&self) -> Option<XmlItemRef<'_, Self::Navigator>>
fn current(&self) -> Option<XmlItemRef<'_, Self::Navigator>>
Current item (None before first move_next or after end).
Source§fn current_position(&self) -> Option<usize>
fn current_position(&self) -> Option<usize>
0-based position of the current item, or None if not started/finished.
Source§fn move_next(&mut self) -> Result<bool, XPathError>
fn move_next(&mut self) -> Result<bool, XPathError>
Advance to next item; returns false at end of sequence.
Source§fn sequential_position(&self) -> Option<usize>
fn sequential_position(&self) -> Option<usize>
1-based sequential position for axis iteration.
Source§fn reset_sequential_position(&mut self)
fn reset_sequential_position(&mut self)
Reset sequential position tracking (used by position filters).
Auto Trait Implementations§
impl<N> Freeze for RangeIterator<N>where
N: Freeze,
impl<N> RefUnwindSafe for RangeIterator<N>where
N: RefUnwindSafe,
impl<N> Send for RangeIterator<N>where
N: Send,
impl<N> Sync for RangeIterator<N>where
N: Sync,
impl<N> Unpin for RangeIterator<N>where
N: Unpin,
impl<N> UnsafeUnpin for RangeIterator<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for RangeIterator<N>where
N: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more