Struct cranelift_reader::Details [−][src]
pub struct Details<'a> { pub location: Location, pub comments: Vec<Comment<'a>>, pub map: SourceMap, }
Expand description
Additional details about a function parsed from a text string. These are useful for detecting test commands embedded in comments etc. The details to not affect the semantics of the function.
Fields
location: Location
Location of the function
keyword that begins this function.
comments: Vec<Comment<'a>>
Annotation comments that appeared inside or after the function.
map: SourceMap
Mapping of entity numbers to source locations.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Details<'a>
impl<'a> UnwindSafe for Details<'a>