Struct voodoo::ImportSemaphoreFdInfoKhr
[−]
[src]
#[repr(C)]pub struct ImportSemaphoreFdInfoKhr<'s> { /* fields omitted */ }
A VkImportSemaphoreFdInfoKHR
.
Methods
impl<'s> ImportSemaphoreFdInfoKhr<'s>
[src]
pub fn builder<'b>() -> ImportSemaphoreFdInfoKhrBuilder<'b>
[src]
pub unsafe fn from_raw(
raw: VkImportSemaphoreFdInfoKHR
) -> ImportSemaphoreFdInfoKhr<'s>
[src]
raw: VkImportSemaphoreFdInfoKHR
) -> ImportSemaphoreFdInfoKhr<'s>
pub fn next<'a>(&'a self) -> *const c_void
[src]
pub fn semaphore<'a>(&'a self) -> VkSemaphore
[src]
pub fn flags<'a>(&'a self) -> SemaphoreImportFlagsKhr
[src]
pub fn handle_type<'a>(&'a self) -> ExternalSemaphoreHandleTypeFlagsKhr
[src]
pub fn fd<'a>(&'a self) -> i32
[src]
pub unsafe fn set_next<'m>(&mut self, next: *const c_void)
[src]
pub fn set_semaphore<'m, H>(&mut self, semaphore: H) where
H: Handle<Target = SemaphoreHandle>,
[src]
H: Handle<Target = SemaphoreHandle>,
pub fn set_flags<'m>(&mut self, flags: SemaphoreImportFlagsKhr)
[src]
pub fn set_handle_type<'m>(
&mut self,
handle_type: ExternalSemaphoreHandleTypeFlagsKhr
)
[src]
&mut self,
handle_type: ExternalSemaphoreHandleTypeFlagsKhr
)
pub fn set_fd<'m>(&mut self, fd: i32)
[src]
pub fn as_raw(&self) -> &VkImportSemaphoreFdInfoKHR
[src]
Trait Implementations
impl<'s> Debug for ImportSemaphoreFdInfoKhr<'s>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'s> Clone for ImportSemaphoreFdInfoKhr<'s>
[src]
fn clone(&self) -> ImportSemaphoreFdInfoKhr<'s>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'s> Default for ImportSemaphoreFdInfoKhr<'s>
[src]
fn default() -> ImportSemaphoreFdInfoKhr<'s>
[src]
Returns the "default value" for a type. Read more
impl<'s> From<ImportSemaphoreFdInfoKhr<'s>> for VkImportSemaphoreFdInfoKHR
[src]
fn from(f: ImportSemaphoreFdInfoKhr<'s>) -> VkImportSemaphoreFdInfoKHR
[src]
Performs the conversion.