pub struct GraphOptions {
pub query: GraphQuery,
pub cwd: PathBuf,
pub cache: CacheMode,
}Expand description
GraphOptions holds the options of sokf graph.
Fields§
§query: GraphQueryquery is the query that graph runs on the graph.
cwd: PathBufcwd is the current directory, from which each START path resolves.
cache: CacheModecache is the cache mode. It is Off when the command has --no-cache.
Trait Implementations§
Source§impl Clone for GraphOptions
impl Clone for GraphOptions
Auto Trait Implementations§
impl !RefUnwindSafe for GraphOptions
impl !Send for GraphOptions
impl !Sync for GraphOptions
impl !UnwindSafe for GraphOptions
impl Forget for GraphOptions
impl Freeze for GraphOptions
impl Move for GraphOptions
impl Unpin for GraphOptions
impl UnsafeUnpin for GraphOptions
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