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§
Source§impl<T> Ord for Id<T>
impl<T> Ord for Id<T>
Source§impl<T> PartialOrd for Id<T>
impl<T> PartialOrd for Id<T>
impl<T> Copy for Id<T>
impl<T> Eq for Id<T>
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> 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