pub trait EraFileFormat: Sized {
type EraGroup;
type Id: EraFileId;
// Required methods
fn version(&self) -> &Version;
fn group(&self) -> &Self::EraGroup;
fn id(&self) -> &Self::Id;
fn new(group: Self::EraGroup, id: Self::Id) -> Self;
}
Expand description
Represents era file with generic content and identifier types
Required Associated Types§
Required 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.