[][src]Struct ash::vk::PhysicalDevicePropertiesBuilder

#[repr(transparent)]
pub struct PhysicalDevicePropertiesBuilder<'a> { /* fields omitted */ }

Methods

impl<'a> PhysicalDevicePropertiesBuilder<'a>[src]

pub fn api_version(
    self,
    api_version: u32
) -> PhysicalDevicePropertiesBuilder<'a>
[src]

pub fn driver_version(
    self,
    driver_version: u32
) -> PhysicalDevicePropertiesBuilder<'a>
[src]

pub fn vendor_id(self, vendor_id: u32) -> PhysicalDevicePropertiesBuilder<'a>[src]

pub fn device_id(self, device_id: u32) -> PhysicalDevicePropertiesBuilder<'a>[src]

pub fn device_type(
    self,
    device_type: PhysicalDeviceType
) -> PhysicalDevicePropertiesBuilder<'a>
[src]

pub fn device_name(
    self,
    device_name: [c_char; 256]
) -> PhysicalDevicePropertiesBuilder<'a>
[src]

pub fn pipeline_cache_uuid(
    self,
    pipeline_cache_uuid: [u8; 16]
) -> PhysicalDevicePropertiesBuilder<'a>
[src]

pub fn limits(
    self,
    limits: PhysicalDeviceLimits
) -> PhysicalDevicePropertiesBuilder<'a>
[src]

pub fn sparse_properties(
    self,
    sparse_properties: PhysicalDeviceSparseProperties
) -> PhysicalDevicePropertiesBuilder<'a>
[src]

pub fn build(self) -> PhysicalDeviceProperties[src]

Calling build will discard all the lifetime information. Only call this if necessary! Builders implement Deref targeting their corresponding Vulkan struct, so references to builders can be passed directly to Vulkan functions.

Methods from Deref<Target = PhysicalDeviceProperties>

Trait Implementations

impl<'a> Deref for PhysicalDevicePropertiesBuilder<'a>[src]

type Target = PhysicalDeviceProperties

The resulting type after dereferencing.

impl<'a> DerefMut for PhysicalDevicePropertiesBuilder<'a>[src]

Auto Trait Implementations

impl<'a> Unpin for PhysicalDevicePropertiesBuilder<'a>

impl<'a> Sync for PhysicalDevicePropertiesBuilder<'a>

impl<'a> Send for PhysicalDevicePropertiesBuilder<'a>

impl<'a> UnwindSafe for PhysicalDevicePropertiesBuilder<'a>

impl<'a> RefUnwindSafe for PhysicalDevicePropertiesBuilder<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]