#[repr(transparent)]pub struct SemaphoreGetWin32HandleInfoKHRBuilder { /* private fields */ }
Expand description
A builder for a SemaphoreGetWin32HandleInfoKHR
.
Implementations§
source§impl SemaphoreGetWin32HandleInfoKHRBuilder
impl SemaphoreGetWin32HandleInfoKHRBuilder
pub fn semaphore(self, semaphore: Semaphore) -> Self
pub fn handle_type(self, handle_type: ExternalSemaphoreHandleTypeFlags) -> Self
pub fn build(self) -> SemaphoreGetWin32HandleInfoKHR
Trait Implementations§
source§impl Cast for SemaphoreGetWin32HandleInfoKHRBuilder
impl Cast for SemaphoreGetWin32HandleInfoKHRBuilder
§type Target = SemaphoreGetWin32HandleInfoKHR
type Target = SemaphoreGetWin32HandleInfoKHR
The other type this type can be used interchangeably with in FFI.
source§impl Clone for SemaphoreGetWin32HandleInfoKHRBuilder
impl Clone for SemaphoreGetWin32HandleInfoKHRBuilder
source§fn clone(&self) -> SemaphoreGetWin32HandleInfoKHRBuilder
fn clone(&self) -> SemaphoreGetWin32HandleInfoKHRBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for SemaphoreGetWin32HandleInfoKHRBuilder
impl Default for SemaphoreGetWin32HandleInfoKHRBuilder
source§fn default() -> SemaphoreGetWin32HandleInfoKHRBuilder
fn default() -> SemaphoreGetWin32HandleInfoKHRBuilder
Returns the “default value” for a type. Read more
impl Copy for SemaphoreGetWin32HandleInfoKHRBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SemaphoreGetWin32HandleInfoKHRBuilder
impl !Send for SemaphoreGetWin32HandleInfoKHRBuilder
impl !Sync for SemaphoreGetWin32HandleInfoKHRBuilder
impl Unpin for SemaphoreGetWin32HandleInfoKHRBuilder
impl UnwindSafe for SemaphoreGetWin32HandleInfoKHRBuilder
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