pub struct Sequence { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AsMut<[PreTokenizerWrapper]> for Sequence
impl AsMut<[PreTokenizerWrapper]> for Sequence
Source§fn as_mut(&mut self) -> &mut [PreTokenizerWrapper]
fn as_mut(&mut self) -> &mut [PreTokenizerWrapper]
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<[PreTokenizerWrapper]> for Sequence
impl AsRef<[PreTokenizerWrapper]> for Sequence
Source§fn as_ref(&self) -> &[PreTokenizerWrapper]
fn as_ref(&self) -> &[PreTokenizerWrapper]
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<'de> Deserialize<'de> for Sequence
impl<'de> Deserialize<'de> for Sequence
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<Sequence> for PreTokenizerWrapper
impl From<Sequence> for PreTokenizerWrapper
Source§impl IntoIterator for Sequence
impl IntoIterator for Sequence
Source§impl PreTokenizer for Sequence
impl PreTokenizer for Sequence
fn pre_tokenize(&self, pretokenized: &mut PreTokenizedString) -> Result<()>
impl StructuralPartialEq for Sequence
Auto Trait Implementations§
impl Freeze for Sequence
impl RefUnwindSafe for Sequence
impl Send for Sequence
impl Sync for Sequence
impl Unpin for Sequence
impl UnwindSafe for Sequence
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more