pub struct CodePointRangeIterator<'a>(pub Box<dyn Iterator<Item = RangeInclusive<u32>> + 'a>);Expand description
An iterator over code point ranges, produced by ICU4XCodePointSetData or
one of the ICU4XCodePointMapData types
Tuple Fields§
§0: Box<dyn Iterator<Item = RangeInclusive<u32>> + 'a>Implementations§
Source§impl<'a> CodePointRangeIterator<'a>
impl<'a> CodePointRangeIterator<'a>
Sourcepub fn next(&mut self) -> CodePointRangeIteratorResult
pub fn next(&mut self) -> CodePointRangeIteratorResult
Advance the iterator by one and return the next range.
If the iterator is out of items, done will be true
Auto Trait Implementations§
impl<'a> Freeze for CodePointRangeIterator<'a>
impl<'a> !RefUnwindSafe for CodePointRangeIterator<'a>
impl<'a> !Send for CodePointRangeIterator<'a>
impl<'a> !Sync for CodePointRangeIterator<'a>
impl<'a> Unpin for CodePointRangeIterator<'a>
impl<'a> !UnwindSafe for CodePointRangeIterator<'a>
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
Source§impl<T> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes