#[repr(transparent)]pub struct PhysicalDeviceMultiviewFeaturesBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> PhysicalDeviceMultiviewFeaturesBuilder<'a>
impl<'a> PhysicalDeviceMultiviewFeaturesBuilder<'a>
pub fn multiview(
self,
multiview: bool
) -> PhysicalDeviceMultiviewFeaturesBuilder<'a>
pub fn multiview_geometry_shader(
self,
multiview_geometry_shader: bool
) -> PhysicalDeviceMultiviewFeaturesBuilder<'a>
pub fn multiview_tessellation_shader(
self,
multiview_tessellation_shader: bool
) -> PhysicalDeviceMultiviewFeaturesBuilder<'a>
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.
sourcefn deref(
&self
) -> &<PhysicalDeviceMultiviewFeaturesBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<PhysicalDeviceMultiviewFeaturesBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PhysicalDeviceMultiviewFeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceMultiviewFeaturesBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PhysicalDeviceMultiviewFeaturesBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceMultiviewFeaturesBuilder<'a> as Deref>::Target
Mutably dereferences the value.
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more