pub struct DefaultPacker { /* private fields */ }Expand description
Default implementation of Packer using the cl100k_base tokenizer and
a priority heuristic that sorts files by entry points, docs, recency, and
symbol-graph centrality before lexicographic order.
Implementations§
Trait Implementations§
Source§impl Packer for DefaultPacker
impl Packer for DefaultPacker
Source§fn pack(&self, req: &PackRequest, ctx: &dyn PackContext) -> Result<PackResult>
fn pack(&self, req: &PackRequest, ctx: &dyn PackContext) -> Result<PackResult>
Execute a pack operation given a request and a context for file access.
Auto Trait Implementations§
impl Freeze for DefaultPacker
impl RefUnwindSafe for DefaultPacker
impl Send for DefaultPacker
impl Sync for DefaultPacker
impl Unpin for DefaultPacker
impl UnsafeUnpin for DefaultPacker
impl UnwindSafe for DefaultPacker
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