Struct cov::report::Branch [−][src]
pub struct Branch { pub count: u64, pub attr: ArcAttr, pub filename: Symbol, pub line: u32, pub column: u32, }
Coverage information about a branch.
Fields
count: u64
Number of times this branch is taken.
attr: ArcAttr
Attributes associated with this branch.
filename: Symbol
The target filename of this branch.
line: u32
The line number of the target of this branch. Zero if missing.
column: u32
The column number of the target of this branch. Zero if missing.
Trait Implementations
impl Copy for Branch
[src]
impl Copy for Branch
impl Clone for Branch
[src]
impl Clone for Branch
fn clone(&self) -> Branch
[src]
fn clone(&self) -> Branch
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for Branch
[src]
impl PartialEq for Branch
fn eq(&self, other: &Branch) -> bool
[src]
fn eq(&self, other: &Branch) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Branch) -> bool
[src]
fn ne(&self, other: &Branch) -> bool
This method tests for !=
.
impl Eq for Branch
[src]
impl Eq for Branch
impl Hash for Branch
[src]
impl Hash for Branch
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for Branch
[src]
impl Debug for Branch
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Branch
[src]
impl Default for Branch
impl SerializeWithInterner for Branch
[src]
impl SerializeWithInterner for Branch
fn serialize_with_interner<S: Serializer>(
&self,
serializer: S,
interner: &Interner
) -> Result<S::Ok, S::Error>
[src]
fn serialize_with_interner<S: Serializer>(
&self,
serializer: S,
interner: &Interner
) -> Result<S::Ok, S::Error>
Serializes this value with help from an [Interner
] that writes [Symbol
]s as strings. Read more
fn with_interner<'si>(
&self,
interner: &'si Interner
) -> WithInterner<'si, &Self>
[src]
fn with_interner<'si>(
&self,
interner: &'si Interner
) -> WithInterner<'si, &Self>
Adorns this object with a string interner. Read more