Trait NamedSourceFile

Source
pub trait NamedSourceFile: SourceFile {
    // Provided method
    fn name(&self) -> FileName { ... }
}

Provided Methods§

Source

fn name(&self) -> FileName

Implementations on Foreign Types§

Source§

impl NamedSourceFile for str

Source§

impl NamedSourceFile for Box<str>

Source§

impl NamedSourceFile for String

Source§

impl NamedSourceFile for Arc<str>

Source§

impl<'a> NamedSourceFile for Cow<'a, str>

Implementors§