Enum unicode_segmentation::GraphemeIncomplete [−][src]
An error return indicating that not enough content was available in the provided chunk to satisfy the query, and that more content must be provided.
Variants
More pre-context is needed. The caller should call provide_context
with a chunk ending at the offset given, then retry the query. This
will only be returned if the chunk_start
parameter is nonzero.
When requesting prev_boundary
, the cursor is moving past the beginning
of the current chunk, so the chunk before that is requested. This will
only be returned if the chunk_start
parameter is nonzero.
When requesting next_boundary
, the cursor is moving past the end of the
current chunk, so the chunk after that is requested. This will only be
returned if the chunk ends before the len
parameter provided on
creation of the cursor.
An error returned when the chunk given does not contain the cursor position.
Trait Implementations
impl Debug for GraphemeIncomplete
[src]
impl Eq for GraphemeIncomplete
[src]
impl PartialEq<GraphemeIncomplete> for GraphemeIncomplete
[src]
fn eq(&self, other: &GraphemeIncomplete) -> bool
[src]
fn ne(&self, other: &GraphemeIncomplete) -> bool
[src]
impl StructuralEq for GraphemeIncomplete
[src]
impl StructuralPartialEq for GraphemeIncomplete
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,