Struct ash::vk::SubpassSampleLocationsEXTBuilder
source · [−]#[repr(transparent)]pub struct SubpassSampleLocationsEXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> SubpassSampleLocationsEXTBuilder<'a>
impl<'a> SubpassSampleLocationsEXTBuilder<'a>
pub fn subpass_index(self, subpass_index: u32) -> Self
pub fn sample_locations_info(
self,
sample_locations_info: SampleLocationsInfoEXT
) -> Self
sourcepub fn build(self) -> SubpassSampleLocationsEXT
pub fn build(self) -> SubpassSampleLocationsEXT
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 SubpassSampleLocationsEXTBuilder<'a>
impl<'a> Deref for SubpassSampleLocationsEXTBuilder<'a>
type Target = SubpassSampleLocationsEXT
type Target = SubpassSampleLocationsEXT
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for SubpassSampleLocationsEXTBuilder<'a>
impl<'a> !Send for SubpassSampleLocationsEXTBuilder<'a>
impl<'a> !Sync for SubpassSampleLocationsEXTBuilder<'a>
impl<'a> Unpin for SubpassSampleLocationsEXTBuilder<'a>
impl<'a> UnwindSafe for SubpassSampleLocationsEXTBuilder<'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