#[repr(transparent)]pub struct PhysicalDeviceDriverPropertiesBuilder { /* private fields */ }
Expand description
A builder for a PhysicalDeviceDriverProperties
.
Implementations§
source§impl PhysicalDeviceDriverPropertiesBuilder
impl PhysicalDeviceDriverPropertiesBuilder
pub fn driver_id(self, driver_id: DriverId) -> Self
pub fn driver_name( self, driver_name: impl Into<StringArray<MAX_DRIVER_NAME_SIZE>> ) -> Self
pub fn driver_info( self, driver_info: impl Into<StringArray<MAX_DRIVER_INFO_SIZE>> ) -> Self
pub fn conformance_version( self, conformance_version: impl Cast<Target = ConformanceVersion> ) -> Self
pub fn build(self) -> PhysicalDeviceDriverProperties
Trait Implementations§
source§impl Cast for PhysicalDeviceDriverPropertiesBuilder
impl Cast for PhysicalDeviceDriverPropertiesBuilder
§type Target = PhysicalDeviceDriverProperties
type Target = PhysicalDeviceDriverProperties
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PhysicalDeviceDriverPropertiesBuilder
impl Clone for PhysicalDeviceDriverPropertiesBuilder
source§fn clone(&self) -> PhysicalDeviceDriverPropertiesBuilder
fn clone(&self) -> PhysicalDeviceDriverPropertiesBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PhysicalDeviceDriverPropertiesBuilder
impl Default for PhysicalDeviceDriverPropertiesBuilder
source§fn default() -> PhysicalDeviceDriverPropertiesBuilder
fn default() -> PhysicalDeviceDriverPropertiesBuilder
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceDriverPropertiesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PhysicalDeviceDriverPropertiesBuilder
impl !Send for PhysicalDeviceDriverPropertiesBuilder
impl !Sync for PhysicalDeviceDriverPropertiesBuilder
impl Unpin for PhysicalDeviceDriverPropertiesBuilder
impl UnwindSafe for PhysicalDeviceDriverPropertiesBuilder
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