Struct cov::raw::Function [−][src]
pub struct Function {
pub lineno_checksum: u32,
pub cfg_checksum: u32,
pub source: Option<Source>,
}Information of a function.
Fields
lineno_checksum: u32
The line-number checksum of this function.
cfg_checksum: u32
The configuration checksum of this function. On versions before 4.7, this value is always 0.
source: Option<Source>
The source location of this function. This field is None in a GCDA.
Trait Implementations
impl Copy for Function[src]
impl Copy for Functionimpl Clone for Function[src]
impl Clone for Functionfn clone(&self) -> Function[src]
fn clone(&self) -> FunctionReturns 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)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for Function[src]
impl PartialEq for Functionfn eq(&self, other: &Function) -> bool[src]
fn eq(&self, other: &Function) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Function) -> bool[src]
fn ne(&self, other: &Function) -> boolThis method tests for !=.
impl Eq for Function[src]
impl Eq for Functionimpl Hash for Function[src]
impl Hash for Functionfn 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, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for Function[src]
impl Debug for Functionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for Function[src]
impl Default for Functionimpl SerializeWithInterner for Function[src]
impl SerializeWithInterner for Functionfn 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