pub trait Xid {
// Required methods
fn none() -> Self;
fn resource_id(&self) -> u32;
// Provided method
fn is_none(&self) -> bool { ... }
}
Expand description
A X resource trait
Required Methods§
sourcefn resource_id(&self) -> u32
fn resource_id(&self) -> u32
Get the underlying id of the resource
Provided Methods§
Object Safety§
This trait is not object safe.