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