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