Struct pilka_lib::ash::vk::EventCreateInfoBuilder [−]
#[repr(transparent)]pub struct EventCreateInfoBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> EventCreateInfoBuilder<'a>
impl<'a> EventCreateInfoBuilder<'a>
pub fn flags(self, flags: EventCreateFlags) -> EventCreateInfoBuilder<'a>
pub fn build(self) -> EventCreateInfo
pub fn build(self) -> EventCreateInfo
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.
Methods from Deref<Target = EventCreateInfo>
Trait Implementations
impl<'a> Deref for EventCreateInfoBuilder<'a>
impl<'a> Deref for EventCreateInfoBuilder<'a>
type Target = EventCreateInfo
type Target = EventCreateInfo
The resulting type after dereferencing.
pub fn deref(&self) -> &<EventCreateInfoBuilder<'a> as Deref>::Target
pub fn deref(&self) -> &<EventCreateInfoBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for EventCreateInfoBuilder<'a>
impl<'a> DerefMut for EventCreateInfoBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <EventCreateInfoBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <EventCreateInfoBuilder<'a> as Deref>::Target
Mutably dereferences the value.