pub trait Handle: Sized {
const TYPE: ObjectType;
// Required methods
fn as_raw(self) -> u64;
fn from_raw(_: u64) -> Self;
// Provided method
fn is_null(self) -> bool { ... }
}
Required Associated Constants§
const TYPE: ObjectType
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.