Trait vulkanalia_sys::Handle
source · [−]pub trait Handle: Copy + Clone + Debug + PartialEq + Eq + Hash + Default + Sized {
type Repr;
const TYPE: ObjectType;
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
const TYPE: ObjectType
const TYPE: ObjectType
The object type for this handle type.
Required Methods
Constructs an instance of this handle type with the supplied underlying value.