Enum leo_span::source_map::FileName
source · pub enum FileName {
Real(PathBuf),
Custom(String),
}Expand description
A file name.
For now it’s simply a wrapper around PathBuf,
but may become more complicated in the future.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FileName
impl Send for FileName
impl Sync for FileName
impl Unpin for FileName
impl UnwindSafe for FileName
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