pub enum TextBoundary {
Char,
WordStart,
WordEnd,
SentenceStart,
SentenceEnd,
LineStart,
LineEnd,
// some variants omitted
}
Variants§
Trait Implementations§
Source§impl Clone for TextBoundary
impl Clone for TextBoundary
Source§fn clone(&self) -> TextBoundary
fn clone(&self) -> TextBoundary
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TextBoundary
impl Debug for TextBoundary
Source§impl Display for TextBoundary
impl Display for TextBoundary
Source§impl<'a> FromValue<'a> for TextBoundary
impl<'a> FromValue<'a> for TextBoundary
unsafe fn from_value(value: &Value) -> Self
Source§impl<'a> FromValueOptional<'a> for TextBoundary
impl<'a> FromValueOptional<'a> for TextBoundary
unsafe fn from_value_optional(value: &Value) -> Option<Self>
Source§impl Hash for TextBoundary
impl Hash for TextBoundary
Source§impl Ord for TextBoundary
impl Ord for TextBoundary
Source§fn cmp(&self, other: &TextBoundary) -> Ordering
fn cmp(&self, other: &TextBoundary) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TextBoundary
impl PartialEq for TextBoundary
Source§impl PartialOrd for TextBoundary
impl PartialOrd for TextBoundary
Source§impl StaticType for TextBoundary
impl StaticType for TextBoundary
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for TextBoundary
impl Eq for TextBoundary
impl StructuralPartialEq for TextBoundary
Auto Trait Implementations§
impl Freeze for TextBoundary
impl RefUnwindSafe for TextBoundary
impl Send for TextBoundary
impl Sync for TextBoundary
impl Unpin for TextBoundary
impl UnwindSafe for TextBoundary
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.