#[repr(transparent)]pub struct PhysicalDeviceShaderCoreProperties2AMDBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
pub fn shader_core_features(
self,
shader_core_features: ShaderCorePropertiesFlagsAMD
) -> PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
pub fn active_compute_unit_count(
self,
active_compute_unit_count: u32
) -> PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
sourcepub fn build(self) -> PhysicalDeviceShaderCoreProperties2AMD
pub fn build(self) -> PhysicalDeviceShaderCoreProperties2AMD
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.
Trait Implementations
sourceimpl<'a> Deref for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> Deref for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
type Target = PhysicalDeviceShaderCoreProperties2AMD
type Target = PhysicalDeviceShaderCoreProperties2AMD
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<PhysicalDeviceShaderCoreProperties2AMDBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<PhysicalDeviceShaderCoreProperties2AMDBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PhysicalDeviceShaderCoreProperties2AMDBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceShaderCoreProperties2AMDBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsPhysicalDeviceProperties2 for PhysicalDeviceShaderCoreProperties2AMDBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> !Send for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> !Sync for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> Unpin for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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