[][src]Struct basalt::misc::tmp_image_access::TmpImageViewAccess

pub struct TmpImageViewAccess { /* fields omitted */ }

An abstraction on ImageViewAccess to provide a lease like function. This simply wraps ImageViewAccess and provides a barrier that will be used when the wrapper drops. The provided barrier should have wait() called before dropping.

Implementations

impl TmpImageViewAccess[src]

pub fn new(from: Arc<dyn ImageViewAccess + Send + Sync>) -> (Self, Arc<Barrier>)[src]

pub fn new_abool(
    from: Arc<dyn ImageViewAccess + Send + Sync>
) -> (Self, Arc<AtomicBool>)
[src]

Trait Implementations

impl Drop for TmpImageViewAccess[src]

impl ImageViewAccess for TmpImageViewAccess[src]

Auto Trait Implementations

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> ImageViewAccess for T where
    T: SafeDeref,
    <T as Deref>::Target: ImageViewAccess
[src]

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

impl<T> SetParameter for T

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.