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