Trait vulkanalia::prelude::v1_0::Handle[][src]

pub trait Handle: Copy + Clone + Debug + PartialEq<Self> + Eq + Hash + Default {
    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.

Associated Types

The underlying type for this handle type.

Associated Constants

The object type for this handle type.

Required methods

Constructs a null instance of this handle type.

Constructs an instance of this handle type with the supplied underlying value.

Gets the underlying value for this handle.

Returns whether this handle is a null handle.

Implementors