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 maximum number of characters for each chunk.
Fields§
§chunk_line_limit: usizethe maximum number of lines for each chunk
Trait Implementations§
Source§impl Clone for SplitOptions
impl Clone for SplitOptions
Source§fn clone(&self) -> SplitOptions
fn clone(&self) -> SplitOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SplitOptions
impl Debug for SplitOptions
Source§impl Default for SplitOptions
impl Default for SplitOptions
Source§fn default() -> SplitOptions
fn default() -> SplitOptions
Returns the “default value” for a type. Read more
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