[][src]Struct vulkano::swapchain::PresentFuture

#[must_use =
  "Dropping this object will immediately block the thread until the GPU has finished processing the submission"]pub struct PresentFuture<P, W> where
    P: GpuFuture
{ /* fields omitted */ }

Represents a swapchain image being presented on the screen.

Implementations

impl<P, W> PresentFuture<P, W> where
    P: GpuFuture
[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<P, W> DeviceOwned for PresentFuture<P, W> where
    P: GpuFuture
[src]

impl<P, W> Drop for PresentFuture<P, W> where
    P: GpuFuture
[src]

impl<P, W> GpuFuture for PresentFuture<P, W> where
    P: GpuFuture
[src]

Auto Trait Implementations

impl<P, W> RefUnwindSafe for PresentFuture<P, W> where
    P: RefUnwindSafe,
    W: RefUnwindSafe

impl<P, W> Send for PresentFuture<P, W> where
    P: Send,
    W: Send + Sync

impl<P, W> Sync for PresentFuture<P, W> where
    P: Sync,
    W: Send + Sync

impl<P, W> Unpin for PresentFuture<P, W> where
    P: Unpin

impl<P, W> UnwindSafe for PresentFuture<P, W> where
    P: UnwindSafe,
    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> DeviceOwned for T where
    T: Deref,
    <T as Deref>::Target: DeviceOwned
[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.