Struct vulkanalia::vk::ImportSemaphoreFdInfoKHRBuilder
source · #[repr(transparent)]pub struct ImportSemaphoreFdInfoKHRBuilder { /* private fields */ }
Expand description
A builder for a ImportSemaphoreFdInfoKHR
.
Implementations§
source§impl ImportSemaphoreFdInfoKHRBuilder
impl ImportSemaphoreFdInfoKHRBuilder
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 fd(self, fd: c_int) -> Self
pub fn build(self) -> ImportSemaphoreFdInfoKHR
Trait Implementations§
source§impl Cast for ImportSemaphoreFdInfoKHRBuilder
impl Cast for ImportSemaphoreFdInfoKHRBuilder
§type Target = ImportSemaphoreFdInfoKHR
type Target = ImportSemaphoreFdInfoKHR
The other type this type can be used interchangeably with in FFI.
source§impl Clone for ImportSemaphoreFdInfoKHRBuilder
impl Clone for ImportSemaphoreFdInfoKHRBuilder
source§fn clone(&self) -> ImportSemaphoreFdInfoKHRBuilder
fn clone(&self) -> ImportSemaphoreFdInfoKHRBuilder
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 ImportSemaphoreFdInfoKHRBuilder
impl Default for ImportSemaphoreFdInfoKHRBuilder
source§fn default() -> ImportSemaphoreFdInfoKHRBuilder
fn default() -> ImportSemaphoreFdInfoKHRBuilder
Returns the “default value” for a type. Read more
impl Copy for ImportSemaphoreFdInfoKHRBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ImportSemaphoreFdInfoKHRBuilder
impl !Send for ImportSemaphoreFdInfoKHRBuilder
impl !Sync for ImportSemaphoreFdInfoKHRBuilder
impl Unpin for ImportSemaphoreFdInfoKHRBuilder
impl UnwindSafe for ImportSemaphoreFdInfoKHRBuilder
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