pub struct DebugFormatter;Expand description
Debug formatter that outputs token IDs and sample decoded tokens
Trait Implementations§
Source§impl OutputFormatter for DebugFormatter
impl OutputFormatter for DebugFormatter
Source§fn format(&self, result: &TokenizationResult) -> String
fn format(&self, result: &TokenizationResult) -> String
Format the tokenization result as a string
Auto Trait Implementations§
impl Freeze for DebugFormatter
impl RefUnwindSafe for DebugFormatter
impl Send for DebugFormatter
impl Sync for DebugFormatter
impl Unpin for DebugFormatter
impl UnsafeUnpin for DebugFormatter
impl UnwindSafe for DebugFormatter
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