pub struct LanguageConfig {
pub min_semantic_size: usize,
pub split_by_semantic_boundary: bool,
pub extract_functions: bool,
pub extract_types: bool,
pub extract_classes: bool,
}Expand description
Language-specific configuration
Fields§
§min_semantic_size: usizeMinimum chunk size for semantic boundaries
split_by_semantic_boundary: boolWhether to split by function/class boundaries
extract_functions: boolExtract function signatures
extract_types: boolExtract type definitions
extract_classes: boolExtract class/struct definitions
Trait Implementations§
Source§impl Clone for LanguageConfig
impl Clone for LanguageConfig
Source§fn clone(&self) -> LanguageConfig
fn clone(&self) -> LanguageConfig
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 LanguageConfig
impl Debug for LanguageConfig
Source§impl<'de> Deserialize<'de> for LanguageConfig
impl<'de> Deserialize<'de> for LanguageConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LanguageConfig
impl RefUnwindSafe for LanguageConfig
impl Send for LanguageConfig
impl Sync for LanguageConfig
impl Unpin for LanguageConfig
impl UnwindSafe for LanguageConfig
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