pub struct CodeGraphConfig {
pub version: i64,
pub root_dir: String,
pub include: Vec<String>,
pub exclude: Vec<String>,
pub languages: Vec<Language>,
pub frameworks: Vec<Value>,
pub max_file_size: u64,
pub extract_docstrings: bool,
pub track_call_sites: bool,
}Fields§
§version: i64§root_dir: String§include: Vec<String>§exclude: Vec<String>§languages: Vec<Language>§frameworks: Vec<Value>§max_file_size: u64§extract_docstrings: bool§track_call_sites: boolImplementations§
Source§impl CodeGraphConfig
impl CodeGraphConfig
pub fn default_for_root(root: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for CodeGraphConfig
impl Clone for CodeGraphConfig
Source§fn clone(&self) -> CodeGraphConfig
fn clone(&self) -> CodeGraphConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CodeGraphConfig
impl Debug for CodeGraphConfig
Source§impl<'de> Deserialize<'de> for CodeGraphConfig
impl<'de> Deserialize<'de> for CodeGraphConfig
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 CodeGraphConfig
impl RefUnwindSafe for CodeGraphConfig
impl Send for CodeGraphConfig
impl Sync for CodeGraphConfig
impl Unpin for CodeGraphConfig
impl UnsafeUnpin for CodeGraphConfig
impl UnwindSafe for CodeGraphConfig
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