pub trait RefId:
Schema
+ Clone
+ PartialEq
+ Debug {
const EXPECTED: Expected;
// Required methods
fn parse(spelled: &str) -> Option<Self>;
fn spell(&self) -> Cow<'_, str>;
}Expand description
The type of a kind’s ids: how one is spelled in a reference
(@user:42), read back, and stored in every other form (a frame packs
it as itself — a number as a number).
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".