Struct artifact_app::types::FullLocs
[−]
[src]
pub struct FullLocs { pub root: Option<Loc>, pub sublocs: HashMap<SubName, Loc>, }
All (code) implementation locations for a SINGLE artifact.
Fields
root: Option<Loc>
Whether the root node is linked in code
i.e #ART-foo
sublocs: HashMap<SubName, Loc>
The sub locations that are linked in code
i.e #ART-foo.subloc
Methods
impl FullLocs
[src]
fn empty() -> FullLocs
[src]
Should only be used when values will be added later
fn ratio_complete(&self, num_subnames: usize) -> f32
[src]
Give the ratio that these locations are complete
Trait Implementations
impl Debug for FullLocs
[src]
impl Clone for FullLocs
[src]
fn clone(&self) -> FullLocs
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for FullLocs
[src]
fn eq(&self, __arg_0: &FullLocs) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FullLocs) -> bool
[src]
This method tests for !=
.