pub enum SnippetBoundary {
Sentence,
Paragraph,
Zone,
}
Expand description
Variants§
Trait Implementations§
Source§impl Clone for SnippetBoundary
impl Clone for SnippetBoundary
Source§fn clone(&self) -> SnippetBoundary
fn clone(&self) -> SnippetBoundary
Returns a duplicate 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 SnippetBoundary
impl Debug for SnippetBoundary
Source§impl Default for SnippetBoundary
impl Default for SnippetBoundary
Source§fn default() -> SnippetBoundary
fn default() -> SnippetBoundary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SnippetBoundary
impl<'de> Deserialize<'de> for SnippetBoundary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SnippetBoundary
impl Hash for SnippetBoundary
Source§impl Ord for SnippetBoundary
impl Ord for SnippetBoundary
Source§fn cmp(&self, other: &SnippetBoundary) -> Ordering
fn cmp(&self, other: &SnippetBoundary) -> 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 SnippetBoundary
impl PartialEq for SnippetBoundary
Source§impl PartialOrd for SnippetBoundary
impl PartialOrd for SnippetBoundary
Source§impl Serialize for SnippetBoundary
impl Serialize for SnippetBoundary
impl Copy for SnippetBoundary
impl Eq for SnippetBoundary
impl StructuralPartialEq for SnippetBoundary
Auto Trait Implementations§
impl Freeze for SnippetBoundary
impl RefUnwindSafe for SnippetBoundary
impl Send for SnippetBoundary
impl Sync for SnippetBoundary
impl Unpin for SnippetBoundary
impl UnwindSafe for SnippetBoundary
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.