pub trait ToGlobalId {
// Required method
fn to_global_id(&self) -> u32;
}Expand description
A trait for converting a value to a global ID.
Required Methods§
Sourcefn to_global_id(&self) -> u32
fn to_global_id(&self) -> u32
Converts the value to a global ID.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".