#[repr(transparent)]pub struct PhysicalDeviceToolPropertiesBuilder { /* private fields */ }
Expand description
A builder for a PhysicalDeviceToolProperties
.
Implementations§
source§impl PhysicalDeviceToolPropertiesBuilder
impl PhysicalDeviceToolPropertiesBuilder
pub fn name(self, name: impl Into<StringArray<MAX_EXTENSION_NAME_SIZE>>) -> Self
pub fn version( self, version: impl Into<StringArray<MAX_EXTENSION_NAME_SIZE>> ) -> Self
pub fn purposes(self, purposes: ToolPurposeFlags) -> Self
pub fn description( self, description: impl Into<StringArray<MAX_DESCRIPTION_SIZE>> ) -> Self
pub fn layer( self, layer: impl Into<StringArray<MAX_EXTENSION_NAME_SIZE>> ) -> Self
pub fn build(self) -> PhysicalDeviceToolProperties
Trait Implementations§
source§impl Cast for PhysicalDeviceToolPropertiesBuilder
impl Cast for PhysicalDeviceToolPropertiesBuilder
§type Target = PhysicalDeviceToolProperties
type Target = PhysicalDeviceToolProperties
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PhysicalDeviceToolPropertiesBuilder
impl Clone for PhysicalDeviceToolPropertiesBuilder
source§fn clone(&self) -> PhysicalDeviceToolPropertiesBuilder
fn clone(&self) -> PhysicalDeviceToolPropertiesBuilder
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 PhysicalDeviceToolPropertiesBuilder
impl Default for PhysicalDeviceToolPropertiesBuilder
source§fn default() -> PhysicalDeviceToolPropertiesBuilder
fn default() -> PhysicalDeviceToolPropertiesBuilder
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceToolPropertiesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PhysicalDeviceToolPropertiesBuilder
impl !Send for PhysicalDeviceToolPropertiesBuilder
impl !Sync for PhysicalDeviceToolPropertiesBuilder
impl Unpin for PhysicalDeviceToolPropertiesBuilder
impl UnwindSafe for PhysicalDeviceToolPropertiesBuilder
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