#[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
) -> SubpassSampleLocationsEXTBuilder<'a>
pub fn sample_locations_info(
self,
sample_locations_info: SampleLocationsInfoEXT
) -> SubpassSampleLocationsEXTBuilder<'a>
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.
sourcefn deref(&self) -> &<SubpassSampleLocationsEXTBuilder<'a> as Deref>::Target
fn deref(&self) -> &<SubpassSampleLocationsEXTBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for SubpassSampleLocationsEXTBuilder<'a>
impl<'a> DerefMut for SubpassSampleLocationsEXTBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <SubpassSampleLocationsEXTBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <SubpassSampleLocationsEXTBuilder<'a> as Deref>::Target
Mutably dereferences the value.
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more