#[non_exhaustive]pub struct VendorId {
pub name: String,
pub id: u32,
pub comment: Option<String>,
}Expand description
Unique identifier for a Vulkan vendor.
Note: in newer versions of the Vulkan spec (1.1.79 and later), this tag is
not used, instead it has been replaced by the VKVendorId enum.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringName of the vendor.
id: u32The unique ID.
comment: Option<String>Human-readable description.
Trait Implementations§
impl Eq for VendorId
impl StructuralPartialEq for VendorId
Auto Trait Implementations§
impl Freeze for VendorId
impl RefUnwindSafe for VendorId
impl Send for VendorId
impl Sync for VendorId
impl Unpin for VendorId
impl UnwindSafe for VendorId
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