pub trait UcdFile:
Clone
+ Debug
+ Default
+ Eq
+ FromStr<Err = Error>
+ PartialEq {
// Required method
fn relative_file_path() -> &'static Path;
// Provided methods
fn file_path<P: AsRef<Path>>(ucd_dir: P) -> PathBuf { ... }
fn from_dir<P: AsRef<Path>>(
ucd_dir: P,
) -> Result<UcdLineParser<File, Self>, Error> { ... }
}
Expand description
Describes a single UCD file.
Required Methods§
Sourcefn relative_file_path() -> &'static Path
fn relative_file_path() -> &'static Path
The file path corresponding to this file, relative to the UCD directory.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.