pub enum TempResource<A: Api> {
Buffer(A::Buffer),
Texture(A::Texture, SmallVec<[A::TextureView; 1]>),
}
Variants
Buffer(A::Buffer)
Texture(A::Texture, SmallVec<[A::TextureView; 1]>)
Trait Implementations
Auto Trait Implementations
impl<A> RefUnwindSafe for TempResource<A> where
<A as Api>::Buffer: RefUnwindSafe,
<A as Api>::Texture: RefUnwindSafe,
<A as Api>::TextureView: RefUnwindSafe,
impl<A> Send for TempResource<A>
impl<A> Sync for TempResource<A>
impl<A> Unpin for TempResource<A> where
<A as Api>::Buffer: Unpin,
<A as Api>::Texture: Unpin,
<A as Api>::TextureView: Unpin,
impl<A> UnwindSafe for TempResource<A> where
<A as Api>::Buffer: UnwindSafe,
<A as Api>::Texture: UnwindSafe,
<A as Api>::TextureView: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more