Struct erupt::vk1_0::PhysicalDevicePropertiesBuilder
source · #[repr(transparent)]pub struct PhysicalDevicePropertiesBuilder<'a>(_, _);
Expand description
Vulkan Manual Page · Builder of PhysicalDeviceProperties
Implementations
sourceimpl<'a> PhysicalDevicePropertiesBuilder<'a>
impl<'a> PhysicalDevicePropertiesBuilder<'a>
pub fn new() -> PhysicalDevicePropertiesBuilder<'a>
pub fn api_version(self, api_version: u32) -> Self
pub fn driver_version(self, driver_version: u32) -> Self
pub fn vendor_id(self, vendor_id: u32) -> Self
pub fn device_id(self, device_id: u32) -> Self
pub fn device_type(self, device_type: PhysicalDeviceType) -> Self
pub fn device_name(self, device_name: [c_char; 256]) -> Self
pub fn pipeline_cache_uuid(self, pipeline_cache_uuid: [u8; 16]) -> Self
pub fn limits(self, limits: PhysicalDeviceLimits) -> Self
pub fn sparse_properties(
self,
sparse_properties: PhysicalDeviceSparseProperties
) -> Self
pub fn build(self) -> PhysicalDeviceProperties
Trait Implementations
sourceimpl<'a> Clone for PhysicalDevicePropertiesBuilder<'a>
impl<'a> Clone for PhysicalDevicePropertiesBuilder<'a>
sourcefn clone(&self) -> PhysicalDevicePropertiesBuilder<'a>
fn clone(&self) -> PhysicalDevicePropertiesBuilder<'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 PhysicalDevicePropertiesBuilder<'a>
impl<'a> Debug for PhysicalDevicePropertiesBuilder<'a>
sourceimpl<'a> Default for PhysicalDevicePropertiesBuilder<'a>
impl<'a> Default for PhysicalDevicePropertiesBuilder<'a>
sourcefn default() -> PhysicalDevicePropertiesBuilder<'a>
fn default() -> PhysicalDevicePropertiesBuilder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Deref for PhysicalDevicePropertiesBuilder<'a>
impl<'a> Deref for PhysicalDevicePropertiesBuilder<'a>
type Target = PhysicalDeviceProperties
type Target = PhysicalDeviceProperties
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PhysicalDevicePropertiesBuilder<'a>
impl<'a> DerefMut for PhysicalDevicePropertiesBuilder<'a>
impl<'a> Copy for PhysicalDevicePropertiesBuilder<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDevicePropertiesBuilder<'a>
impl<'a> Send for PhysicalDevicePropertiesBuilder<'a>
impl<'a> Sync for PhysicalDevicePropertiesBuilder<'a>
impl<'a> Unpin for PhysicalDevicePropertiesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDevicePropertiesBuilder<'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