Struct cov::raw::Source [] [src]

pub struct Source {
    pub name: Symbol,
    pub filename: Symbol,
    pub line: u32,
}

Source location of a function.

Fields

Function name

File name

Line number

Trait Implementations

impl Copy for Source
[src]

impl Clone for Source
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Source
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Source
[src]

impl Hash for Source
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Source
[src]

[src]

Formats the value using the given formatter.

impl Default for Source
[src]

[src]

Returns the "default value" for a type. Read more

impl SerializeWithInterner for Source
[src]

[src]

Serializes this value with help from an [Interner] that writes [Symbol]s as strings. Read more

[src]

Adorns this object with a string interner. Read more