pub struct GraphConfig {
pub files: Vec<String>,
pub parser: String,
pub keys: Option<Vec<String>>,
}Expand description
A configured graph: a file scope and the parser that interprets it. v0.8
ships the markdown and frontmatter parsers. fs is the implicit base
graph (a provider, not a parser) and is not configured here.
Fields§
§files: Vec<String>§parser: String§keys: Option<Vec<String>>frontmatter only: the keys whose values yield edges. None keeps
shape detection over the whole block.
Trait Implementations§
Source§impl Clone for GraphConfig
impl Clone for GraphConfig
Source§fn clone(&self) -> GraphConfig
fn clone(&self) -> GraphConfig
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 moreAuto Trait Implementations§
impl Freeze for GraphConfig
impl RefUnwindSafe for GraphConfig
impl Send for GraphConfig
impl Sync for GraphConfig
impl Unpin for GraphConfig
impl UnsafeUnpin for GraphConfig
impl UnwindSafe for GraphConfig
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