pub trait Registry: McBufReadable + McBufWritablewhere
Self: Sized,{
// Required methods
fn from_u32(value: u32) -> Option<Self>;
fn to_u32(&self) -> u32;
}
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.