pub struct SplitOptions {
pub chunk_line_limit: usize,
}Expand description
Configuration options for the devgen splitter.
This struct defines the parameters used to control how the source code is split into chunks, specifying the minimum and maximum number of lines for each chunk.
Fields§
§chunk_line_limit: usizeThe maximum number of lines for each code chunk.
This value determines the size of the “window” used when splitting the code into chunks. If a chunk exceeds this size, it will be divided into smaller chunks. A larger value results in fewer, larger chunks, while a smaller value produces more, smaller chunks.
Auto Trait Implementations§
impl Freeze for SplitOptions
impl RefUnwindSafe for SplitOptions
impl Send for SplitOptions
impl Sync for SplitOptions
impl Unpin for SplitOptions
impl UnwindSafe for SplitOptions
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