pub struct Id<T = ()> { /* private fields */ }Expand description
This ID type is used throughout the crate to refer to Vulkan objects such as resource objects and their synchronization state, synchronization object state, and other state.
The type parameter denotes the type of object or state being referred to.
Note that this ID is not globally unique. It is unique in the scope of a logical device.
Implementations§
Trait Implementations§
impl<T> Copy for Id<T>
impl<T> Eq for Id<T>
Source§impl<T> Ord for Id<T>
impl<T> Ord for Id<T>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Auto Trait Implementations§
impl<T> Freeze for Id<T>
impl<T> RefUnwindSafe for Id<T>
impl<T> Send for Id<T>
impl<T> Sync for Id<T>
impl<T> Unpin for Id<T>
impl<T> UnsafeUnpin for Id<T>
impl<T> UnwindSafe for Id<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more