pub struct Cl100k(/* private fields */);Expand description
Offline, exact CL100K token counting. Special-token-looking strings are ordinary text. This counts content, not any provider’s message framing overhead.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cl100k
impl RefUnwindSafe for Cl100k
impl Send for Cl100k
impl Sync for Cl100k
impl Unpin for Cl100k
impl UnsafeUnpin for Cl100k
impl UnwindSafe for Cl100k
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