Enum tokenizers::pre_tokenizers::metaspace::PrependScheme   
source · pub enum PrependScheme {
    First,
    Never,
    Always,
}Expand description
Enum representing options for the metaspace prepending scheme.
Variants§
First
Specifies that the scheme should be prepended only once, on the first split.
Never
Specifies that the space should not be prepended.
Always
Specifies that the scheme should always be prepended.
Trait Implementations§
source§impl Clone for PrependScheme
 
impl Clone for PrependScheme
source§fn clone(&self) -> PrependScheme
 
fn clone(&self) -> PrependScheme
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 PrependScheme
 
impl Debug for PrependScheme
source§impl<'de> Deserialize<'de> for PrependScheme
 
impl<'de> Deserialize<'de> for PrependScheme
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 PartialEq for PrependScheme
 
impl PartialEq for PrependScheme
source§fn eq(&self, other: &PrependScheme) -> bool
 
fn eq(&self, other: &PrependScheme) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for PrependScheme
 
impl Serialize for PrependScheme
impl Copy for PrependScheme
impl Eq for PrependScheme
impl StructuralPartialEq for PrependScheme
Auto Trait Implementations§
impl Freeze for PrependScheme
impl RefUnwindSafe for PrependScheme
impl Send for PrependScheme
impl Sync for PrependScheme
impl Unpin for PrependScheme
impl UnwindSafe for PrependScheme
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