pub struct ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a>
impl<'a> ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a>
pub fn semaphore( self, semaphore: Semaphore ) -> ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a>
pub fn flags( self, flags: SemaphoreImportFlags ) -> ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a>
pub fn handle_type( self, handle_type: ExternalSemaphoreHandleTypeFlags ) -> ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a>
pub fn zircon_handle( self, zircon_handle: u32 ) -> ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a>
sourcepub fn build(self) -> ImportSemaphoreZirconHandleInfoFUCHSIA
pub fn build(self) -> ImportSemaphoreZirconHandleInfoFUCHSIA
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 ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a>
impl<'a> Deref for ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a>
§type Target = ImportSemaphoreZirconHandleInfoFUCHSIA
type Target = ImportSemaphoreZirconHandleInfoFUCHSIA
The resulting type after dereferencing.
source§impl<'a> DerefMut for ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a>
impl<'a> DerefMut for ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a>
impl<'a> !Send for ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a>
impl<'a> !Sync for ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a>
impl<'a> Unpin for ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a>
impl<'a> UnwindSafe for ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'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