pub struct DeviceEventInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> DeviceEventInfoEXTBuilder<'a>
impl<'a> DeviceEventInfoEXTBuilder<'a>
pub fn device_event(self, device_event: DeviceEventTypeEXT) -> Self
Sourcepub fn build(self) -> DeviceEventInfoEXT
pub fn build(self) -> DeviceEventInfoEXT
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§
Source§impl<'a> Deref for DeviceEventInfoEXTBuilder<'a>
impl<'a> Deref for DeviceEventInfoEXTBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DeviceEventInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for DeviceEventInfoEXTBuilder<'a>
impl<'a> !Send for DeviceEventInfoEXTBuilder<'a>
impl<'a> !Sync for DeviceEventInfoEXTBuilder<'a>
impl<'a> Unpin for DeviceEventInfoEXTBuilder<'a>
impl<'a> UnwindSafe for DeviceEventInfoEXTBuilder<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more