Struct stack_graphs::graph::File [−][src]
pub struct File { pub name: String, }
Expand description
A source file that we have extracted stack graph data from.
It’s up to you to choose what names to use for your files, but they must be unique within a stack graph. If you are analyzing files from the local filesystem, the file’s path is a good choice. If your files belong to packages or repositories, they should include the package or repository IDs to make sure that files in different packages or repositories don’t clash with each other.
Fields
name: String
Expand description
The name of this source file.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more