Enum tokenizers::tokenizer::EncodeInput
source · pub enum EncodeInput<'s> {
Single(InputSequence<'s>),
Dual(InputSequence<'s>, InputSequence<'s>),
}
Variants§
Single(InputSequence<'s>)
Dual(InputSequence<'s>, InputSequence<'s>)
Trait Implementations§
source§impl<'s> Clone for EncodeInput<'s>
impl<'s> Clone for EncodeInput<'s>
source§fn clone(&self) -> EncodeInput<'s>
fn clone(&self) -> EncodeInput<'s>
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<'s> Debug for EncodeInput<'s>
impl<'s> Debug for EncodeInput<'s>
source§impl<'s, I1, I2> From<(I1, I2)> for EncodeInput<'s>
impl<'s, I1, I2> From<(I1, I2)> for EncodeInput<'s>
source§impl<'s, I: Into<InputSequence<'s>>> From<I> for EncodeInput<'s>
impl<'s, I: Into<InputSequence<'s>>> From<I> for EncodeInput<'s>
Auto Trait Implementations§
impl<'s> Freeze for EncodeInput<'s>
impl<'s> RefUnwindSafe for EncodeInput<'s>
impl<'s> Send for EncodeInput<'s>
impl<'s> Sync for EncodeInput<'s>
impl<'s> Unpin for EncodeInput<'s>
impl<'s> UnwindSafe for EncodeInput<'s>
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