#[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.
sourcefn deref(
&self
) -> &<DeviceMemoryOverallocationCreateInfoAMDBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<DeviceMemoryOverallocationCreateInfoAMDBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for DeviceMemoryOverallocationCreateInfoAMDBuilder<'a>
impl<'a> DerefMut for DeviceMemoryOverallocationCreateInfoAMDBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <DeviceMemoryOverallocationCreateInfoAMDBuilder<'a> as Deref>::Target
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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