pub enum GraphemeIncomplete { PreContext(usize), PrevChunk, NextChunk, InvalidOffset,}
An error return indicating that not enough content was available in theprovided chunk to satisfy the query, and that more content must be provided.
More pre-context is needed. The caller should callprovide_context
with a chunk ending at the offset given, then retry the query. Thiswill only be returned if thechunk_start
parameter is nonzero.
When requestingprev_boundary
, the cursor is moving past the beginningof the current chunk, so the chunk before that is requested. This willonly be returned if thechunk_start
parameter is nonzero.
When requestingnext_boundary
, the cursor is moving past the end of thecurrent chunk, so the chunk after that is requested. This will only bereturned if the chunk ends before thelen
parameter provided oncreation of the cursor.
An error returned when the chunk given does not contain the cursor position.
implDebug forGraphemeIncomplete
[src]implEq forGraphemeIncomplete
[src]implPartialEq<GraphemeIncomplete> forGraphemeIncomplete
[src]fneq(&self, other: &GraphemeIncomplete) -> bool
[src]fnne(&self, other: &GraphemeIncomplete) -> bool
[src]implStructuralEq forGraphemeIncomplete
[src]implStructuralPartialEq forGraphemeIncomplete
[src]impl<T>Any for Twhere
T: 'static + ?Sized,
[src]impl<T>Borrow<T> for Twhere
T: ?Sized,
[src]impl<T>BorrowMut<T> for Twhere
T: ?Sized,
[src]pub fnborrow_mut(&mut self) -> &mut T
[src]impl<T>From<T> for T
[src]impl<T, U>Into<U> for Twhere
U:From<T>,
[src]impl<T, U>TryFrom<U> for Twhere
U:Into<T>,
[src]typeError =Infallible
The type returned in the event of a conversion error.
pub fntry_from(value: U) ->Result<T, <T asTryFrom<U>>::Error>
[src]impl<T, U>TryInto<U> for Twhere
U:TryFrom<T>,
[src]