#[repr(transparent)]pub struct ImportSemaphoreWin32HandleInfoKHRBuilder { /* private fields */ }
Expand description
A builder for a ImportSemaphoreWin32HandleInfoKHR
.
Implementations§
source§impl ImportSemaphoreWin32HandleInfoKHRBuilder
impl ImportSemaphoreWin32HandleInfoKHRBuilder
pub fn semaphore(self, semaphore: Semaphore) -> Self
pub fn flags(self, flags: SemaphoreImportFlags) -> Self
pub fn handle_type(self, handle_type: ExternalSemaphoreHandleTypeFlags) -> Self
pub fn handle(self, handle: HANDLE) -> Self
pub fn name(self, name: LPCWSTR) -> Self
pub fn build(self) -> ImportSemaphoreWin32HandleInfoKHR
Trait Implementations§
source§impl Cast for ImportSemaphoreWin32HandleInfoKHRBuilder
impl Cast for ImportSemaphoreWin32HandleInfoKHRBuilder
§type Target = ImportSemaphoreWin32HandleInfoKHR
type Target = ImportSemaphoreWin32HandleInfoKHR
The other type this type can be used interchangeably with in FFI.
source§impl Clone for ImportSemaphoreWin32HandleInfoKHRBuilder
impl Clone for ImportSemaphoreWin32HandleInfoKHRBuilder
source§fn clone(&self) -> ImportSemaphoreWin32HandleInfoKHRBuilder
fn clone(&self) -> ImportSemaphoreWin32HandleInfoKHRBuilder
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 ImportSemaphoreWin32HandleInfoKHRBuilder
impl Default for ImportSemaphoreWin32HandleInfoKHRBuilder
source§fn default() -> ImportSemaphoreWin32HandleInfoKHRBuilder
fn default() -> ImportSemaphoreWin32HandleInfoKHRBuilder
Returns the “default value” for a type. Read more
impl Copy for ImportSemaphoreWin32HandleInfoKHRBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ImportSemaphoreWin32HandleInfoKHRBuilder
impl !Send for ImportSemaphoreWin32HandleInfoKHRBuilder
impl !Sync for ImportSemaphoreWin32HandleInfoKHRBuilder
impl Unpin for ImportSemaphoreWin32HandleInfoKHRBuilder
impl UnwindSafe for ImportSemaphoreWin32HandleInfoKHRBuilder
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