pub trait FileData {
type Source: AsRef<str> + PartialEq + ?Sized;
type Name: Display + Debug + PartialEq + ?Sized;
// Required methods
fn source(&self) -> &Self::Source;
fn name(&self) -> &Self::Name;
}
Expand description
A trait that represents file data