Struct vulkano::swapchain::SwapchainAcquireFuture[][src]

#[must_use]pub struct SwapchainAcquireFuture<W> { /* fields omitted */ }

Represents the moment when the GPU will have access to a swapchain image.

Implementations

impl<W> SwapchainAcquireFuture<W>[src]

pub fn image_id(&self) -> usize[src]

Returns the index of the image in the list of images returned when creating the swapchain.

pub fn swapchain(&self) -> &Arc<Swapchain<W>>[src]

Returns the corresponding swapchain.

Trait Implementations

impl<W> DeviceOwned for SwapchainAcquireFuture<W>[src]

impl<W> Drop for SwapchainAcquireFuture<W>[src]

impl<W> GpuFuture for SwapchainAcquireFuture<W>[src]

Auto Trait Implementations

impl<W> RefUnwindSafe for SwapchainAcquireFuture<W> where
    W: RefUnwindSafe

impl<W> Send for SwapchainAcquireFuture<W> where
    W: Send + Sync

impl<W> Sync for SwapchainAcquireFuture<W> where
    W: Send + Sync

impl<W> Unpin for SwapchainAcquireFuture<W>

impl<W> UnwindSafe for SwapchainAcquireFuture<W> where
    W: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.