pub struct ContextWork {
pub contexts: usize,
pub input_tokens: usize,
}Expand description
The measured work of a contexts walk.
Fields§
§contexts: usizeThe candidates emitted.
input_tokens: usizeThe raw leaf tokens the independent normalizations consumed, nested content repeated per containing candidate.
Trait Implementations§
Source§impl Clone for ContextWork
impl Clone for ContextWork
impl Copy for ContextWork
Source§impl Debug for ContextWork
impl Debug for ContextWork
Source§impl Default for ContextWork
impl Default for ContextWork
impl Eq for ContextWork
Source§impl PartialEq for ContextWork
impl PartialEq for ContextWork
impl StructuralPartialEq for ContextWork
Auto Trait Implementations§
impl Freeze for ContextWork
impl RefUnwindSafe for ContextWork
impl Send for ContextWork
impl Sync for ContextWork
impl Unpin for ContextWork
impl UnsafeUnpin for ContextWork
impl UnwindSafe for ContextWork
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