#[repr(C)]pub struct CodePointRangeIteratorResult {
pub start: u32,
pub end: u32,
pub done: bool,
}Expand description
Result of a single iteration of CodePointRangeIterator.
Logically can be considered to be an Option<RangeInclusive<u32>>,
start and end represent an inclusive range of code points [start, end],
and done will be true if the iterator has already finished. The last contentful
iteration will NOT produce a range done=true, in other words start and end are useful
values if and only if done=false.
Fields§
§start: u32§end: u32§done: boolAuto Trait Implementations§
impl Freeze for CodePointRangeIteratorResult
impl RefUnwindSafe for CodePointRangeIteratorResult
impl Send for CodePointRangeIteratorResult
impl Sync for CodePointRangeIteratorResult
impl Unpin for CodePointRangeIteratorResult
impl UnwindSafe for CodePointRangeIteratorResult
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: 12 bytes