Struct cov::raw::Source [−][src]
Source location of a function.
Fields
name: Symbol
Function name
filename: Symbol
File name
line: u32
Line number
Trait Implementations
impl Copy for Source
[src]
impl Copy for Source
impl Clone for Source
[src]
impl Clone for Source
fn clone(&self) -> Source
[src]
fn clone(&self) -> Source
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Source
[src]
impl PartialEq for Source
fn eq(&self, other: &Source) -> bool
[src]
fn eq(&self, other: &Source) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Source) -> bool
[src]
fn ne(&self, other: &Source) -> bool
This method tests for !=
.
impl Eq for Source
[src]
impl Eq for Source
impl Hash for Source
[src]
impl Hash for Source
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,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for Source
[src]
impl Debug for Source
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 Source
[src]
impl Default for Source
impl SerializeWithInterner for Source
[src]
impl SerializeWithInterner for Source
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