#[repr(transparent)]pub struct SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a>
impl<'a> SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a>
pub fn fragment_density_offsets(
self,
fragment_density_offsets: &'a [Offset2D]
) -> SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a>
sourcepub fn build(self) -> SubpassFragmentDensityMapOffsetEndInfoQCOM
pub fn build(self) -> SubpassFragmentDensityMapOffsetEndInfoQCOM
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 SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a>
impl<'a> Deref for SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a>
type Target = SubpassFragmentDensityMapOffsetEndInfoQCOM
type Target = SubpassFragmentDensityMapOffsetEndInfoQCOM
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a>
impl<'a> DerefMut for SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsSubpassEndInfo for SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a>
impl<'a> !Send for SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a>
impl<'a> !Sync for SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a>
impl<'a> Unpin for SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'a>
impl<'a> UnwindSafe for SubpassFragmentDensityMapOffsetEndInfoQCOMBuilder<'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