pub struct SemaphoreGetFdInfoKhrBuilder<'b> { /* private fields */ }Expand description
A builder for VkSemaphoreGetFdInfoKHR.
Implementations§
Source§impl<'b> SemaphoreGetFdInfoKhrBuilder<'b>
impl<'b> SemaphoreGetFdInfoKhrBuilder<'b>
pub fn new() -> SemaphoreGetFdInfoKhrBuilder<'b>
pub unsafe fn next<'m>( self, next: *const c_void, ) -> SemaphoreGetFdInfoKhrBuilder<'b>
pub fn semaphore<'m, H>(self, semaphore: H) -> SemaphoreGetFdInfoKhrBuilder<'b>where
H: Handle<Target = SemaphoreHandle>,
pub fn handle_type<'m>( self, handle_type: ExternalSemaphoreHandleTypeFlagsKhr, ) -> SemaphoreGetFdInfoKhrBuilder<'b>
pub fn get_next<'a>(&'a self) -> *const c_void
pub fn get_semaphore<'a>(&'a self) -> VkSemaphore
pub fn get_handle_type<'a>(&'a self) -> ExternalSemaphoreHandleTypeFlagsKhr
pub fn build(self) -> SemaphoreGetFdInfoKhr<'b>
Trait Implementations§
Source§impl<'b> Clone for SemaphoreGetFdInfoKhrBuilder<'b>
impl<'b> Clone for SemaphoreGetFdInfoKhrBuilder<'b>
Source§fn clone(&self) -> SemaphoreGetFdInfoKhrBuilder<'b>
fn clone(&self) -> SemaphoreGetFdInfoKhrBuilder<'b>
Returns a duplicate 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<'b> Debug for SemaphoreGetFdInfoKhrBuilder<'b>
impl<'b> Debug for SemaphoreGetFdInfoKhrBuilder<'b>
Source§impl<'b> Default for SemaphoreGetFdInfoKhrBuilder<'b>
impl<'b> Default for SemaphoreGetFdInfoKhrBuilder<'b>
Source§fn default() -> SemaphoreGetFdInfoKhrBuilder<'b>
fn default() -> SemaphoreGetFdInfoKhrBuilder<'b>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'b> Freeze for SemaphoreGetFdInfoKhrBuilder<'b>
impl<'b> RefUnwindSafe for SemaphoreGetFdInfoKhrBuilder<'b>
impl<'b> !Send for SemaphoreGetFdInfoKhrBuilder<'b>
impl<'b> !Sync for SemaphoreGetFdInfoKhrBuilder<'b>
impl<'b> Unpin for SemaphoreGetFdInfoKhrBuilder<'b>
impl<'b> UnwindSafe for SemaphoreGetFdInfoKhrBuilder<'b>
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