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