Struct tokenizers::pre_tokenizers::delimiter::CharDelimiterSplit
source · #[non_exhaustive]pub struct CharDelimiterSplit {
pub delimiter: char,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.delimiter: char
Implementations§
Trait Implementations§
source§impl Clone for CharDelimiterSplit
impl Clone for CharDelimiterSplit
source§fn clone(&self) -> CharDelimiterSplit
fn clone(&self) -> CharDelimiterSplit
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 CharDelimiterSplit
impl Debug for CharDelimiterSplit
source§impl<'de> Deserialize<'de> for CharDelimiterSplit
impl<'de> Deserialize<'de> for CharDelimiterSplit
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<CharDelimiterSplit> for PreTokenizerWrapper
impl From<CharDelimiterSplit> for PreTokenizerWrapper
source§fn from(from: CharDelimiterSplit) -> Self
fn from(from: CharDelimiterSplit) -> Self
Converts to this type from the input type.
source§impl PartialEq for CharDelimiterSplit
impl PartialEq for CharDelimiterSplit
source§fn eq(&self, other: &CharDelimiterSplit) -> bool
fn eq(&self, other: &CharDelimiterSplit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PreTokenizer for CharDelimiterSplit
impl PreTokenizer for CharDelimiterSplit
fn pre_tokenize(&self, pretokenized: &mut PreTokenizedString) -> Result<()>
source§impl Serialize for CharDelimiterSplit
impl Serialize for CharDelimiterSplit
impl Copy for CharDelimiterSplit
impl Eq for CharDelimiterSplit
impl StructuralPartialEq for CharDelimiterSplit
Auto Trait Implementations§
impl Freeze for CharDelimiterSplit
impl RefUnwindSafe for CharDelimiterSplit
impl Send for CharDelimiterSplit
impl Sync for CharDelimiterSplit
impl Unpin for CharDelimiterSplit
impl UnwindSafe for CharDelimiterSplit
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