Struct ash::vk::PhysicalDeviceMultiviewFeaturesBuilder
source · [−]#[repr(transparent)]pub struct PhysicalDeviceMultiviewFeaturesBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> PhysicalDeviceMultiviewFeaturesBuilder<'a>
impl<'a> PhysicalDeviceMultiviewFeaturesBuilder<'a>
pub fn multiview(self, multiview: bool) -> Self
pub fn multiview_geometry_shader(self, multiview_geometry_shader: bool) -> Self
pub fn multiview_tessellation_shader(
self,
multiview_tessellation_shader: bool
) -> Self
sourcepub fn build(self) -> PhysicalDeviceMultiviewFeatures
pub fn build(self) -> PhysicalDeviceMultiviewFeatures
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 PhysicalDeviceMultiviewFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceMultiviewFeaturesBuilder<'a>
type Target = PhysicalDeviceMultiviewFeatures
type Target = PhysicalDeviceMultiviewFeatures
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PhysicalDeviceMultiviewFeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceMultiviewFeaturesBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceMultiviewFeaturesBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceMultiviewFeaturesBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceMultiviewFeaturesBuilder<'a>
impl<'a> !Send for PhysicalDeviceMultiviewFeaturesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceMultiviewFeaturesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceMultiviewFeaturesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceMultiviewFeaturesBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more