Struct tokenizers::pre_tokenizers::whitespace::Whitespace   
source · pub struct Whitespace;Trait Implementations§
source§impl Clone for Whitespace
 
impl Clone for Whitespace
source§fn clone(&self) -> Whitespace
 
fn clone(&self) -> Whitespace
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 Whitespace
 
impl Debug for Whitespace
source§impl Default for Whitespace
 
impl Default for Whitespace
source§impl<'de> Deserialize<'de> for Whitespace
 
impl<'de> Deserialize<'de> for Whitespace
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 From<Whitespace> for PreTokenizerWrapper
 
impl From<Whitespace> for PreTokenizerWrapper
source§fn from(from: Whitespace) -> Self
 
fn from(from: Whitespace) -> Self
Converts to this type from the input type.
source§impl PartialEq for Whitespace
 
impl PartialEq for Whitespace
source§fn eq(&self, other: &Whitespace) -> bool
 
fn eq(&self, other: &Whitespace) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PreTokenizer for Whitespace
 
impl PreTokenizer for Whitespace
fn pre_tokenize(&self, pretokenized: &mut PreTokenizedString) -> Result<()>
source§impl Serialize for Whitespace
 
impl Serialize for Whitespace
impl Eq for Whitespace
impl StructuralPartialEq for Whitespace
Auto Trait Implementations§
impl Freeze for Whitespace
impl RefUnwindSafe for Whitespace
impl Send for Whitespace
impl Sync for Whitespace
impl Unpin for Whitespace
impl UnwindSafe for Whitespace
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