pub trait Handle:
Copy
+ Eq
+ Hash {
type Repr;
// Required methods
fn null() -> Self;
fn from_raw(raw: Self::Repr) -> Self;
fn as_raw(self) -> Self::Repr;
fn is_null(self) -> bool;
}Expand description
Trait implemented by all Vulkan handle types.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.