pub trait StructureIdentifier:
Copy
+ Clone
+ Debug
+ TryFrom<isize>
+ Into<isize> {
// Required methods
fn allowed_values(no_catchall: bool) -> Option<HashSet<isize>>;
fn as_str(&self) -> Option<&'static str>;
}Expand description
Trait for the structures represented by samples, identified by an integer.
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.