Trait vulkanalia_sys::Handle
source · pub trait Handle: Copy + Clone + Debug + PartialEq + Eq + Hash + Default + Sized {
type Repr;
const TYPE: ObjectType;
// Required methods
fn null() -> Self;
fn from_raw(value: Self::Repr) -> Self;
fn as_raw(self) -> Self::Repr;
fn is_null(self) -> bool;
}
Expand description
A Vulkan handle type.
Required Associated Types§
Required Associated Constants§
sourceconst TYPE: ObjectType
const TYPE: ObjectType
The object type for this handle type.
Required Methods§
Object Safety§
This trait is not object safe.