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