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