Skip to main content

SourceLoc

Trait SourceLoc 

Source
pub trait SourceLoc {
    // Required method
    fn source_location(self) -> SourceLocation;
}

Required Methods§

Source

fn source_location(self) -> SourceLocation

Returns the source location.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§