#[repr(transparent)]pub struct PhysicalDeviceDriverPropertiesBuilder<'a>(_, _);
Expand description
Vulkan Manual Page · Builder of PhysicalDeviceDriverProperties
Implementations
sourceimpl<'a> PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> PhysicalDeviceDriverPropertiesBuilder<'a>
pub fn new() -> PhysicalDeviceDriverPropertiesBuilder<'a>
pub fn driver_id(self, driver_id: DriverId) -> Self
pub fn driver_name(self, driver_name: [c_char; 256]) -> Self
pub fn driver_info(self, driver_info: [c_char; 256]) -> Self
pub fn conformance_version(self, conformance_version: ConformanceVersion) -> Self
sourcepub fn build_dangling(self) -> PhysicalDeviceDriverProperties
pub fn build_dangling(self) -> PhysicalDeviceDriverProperties
Discards all lifetime information.
Use the Deref
and DerefMut
implementations if possible.
Methods from Deref<Target = PhysicalDeviceDriverProperties>
pub const STRUCTURE_TYPE: StructureType = crate::vk1_0::StructureType::PHYSICAL_DEVICE_DRIVER_PROPERTIES
Trait Implementations
sourceimpl<'a> Clone for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> Clone for PhysicalDeviceDriverPropertiesBuilder<'a>
sourcefn clone(&self) -> PhysicalDeviceDriverPropertiesBuilder<'a>
fn clone(&self) -> PhysicalDeviceDriverPropertiesBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> Debug for PhysicalDeviceDriverPropertiesBuilder<'a>
sourceimpl<'a> Default for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> Default for PhysicalDeviceDriverPropertiesBuilder<'a>
sourcefn default() -> PhysicalDeviceDriverPropertiesBuilder<'a>
fn default() -> PhysicalDeviceDriverPropertiesBuilder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Deref for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> Deref for PhysicalDeviceDriverPropertiesBuilder<'a>
type Target = PhysicalDeviceDriverProperties
type Target = PhysicalDeviceDriverProperties
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceDriverPropertiesBuilder<'a>
sourceimpl<'a> ExtendableFrom<'a, PhysicalDeviceDriverPropertiesBuilder<'_>> for PhysicalDeviceProperties2Builder<'a>
impl<'a> ExtendableFrom<'a, PhysicalDeviceDriverPropertiesBuilder<'_>> for PhysicalDeviceProperties2Builder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moreimpl<'a> Copy for PhysicalDeviceDriverPropertiesBuilder<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> !Send for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceDriverPropertiesBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more