Struct codespan_reporting::term::renderer::Locus
source · pub struct Locus {
pub name: String,
pub location: Location,
}
Expand description
The ‘location focus’ of a source code snippet.
Fields§
§name: String
The user-facing name of the file.
location: Location
The location.
Auto Trait Implementations§
impl Freeze for Locus
impl RefUnwindSafe for Locus
impl Send for Locus
impl Sync for Locus
impl Unpin for Locus
impl UnwindSafe for Locus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more