[−][src]Struct wgpu_core::track::PendingTransition
A structure containing all the information about a particular resource transition. User code should be able to generate a pipeline barrier based on the contents.
Fields
id: S::Idselector: S::Selectorusage: Range<S::Usage>Methods
impl PendingTransition<BufferState>[src]
pub fn into_hal<'a, B: Backend>(self, buf: &'a Buffer<B>) -> Barrier<'a, B>[src]
Produce the gfx-hal barrier corresponding to the transition.
impl PendingTransition<TextureState>[src]
pub fn into_hal<'a, B: Backend>(self, tex: &'a Texture<B>) -> Barrier<'a, B>[src]
Produce the gfx-hal barrier corresponding to the transition.
Trait Implementations
impl<S: Debug + ResourceState> Debug for PendingTransition<S> where
S::Id: Debug,
S::Selector: Debug,
S::Usage: Debug, [src]
S::Id: Debug,
S::Selector: Debug,
S::Usage: Debug,
impl<S: PartialEq + ResourceState> PartialEq<PendingTransition<S>> for PendingTransition<S> where
S::Id: PartialEq,
S::Selector: PartialEq,
S::Usage: PartialEq, [src]
S::Id: PartialEq,
S::Selector: PartialEq,
S::Usage: PartialEq,
fn eq(&self, other: &PendingTransition<S>) -> bool[src]
fn ne(&self, other: &PendingTransition<S>) -> bool[src]
impl<S: ResourceState> StructuralPartialEq for PendingTransition<S>[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for PendingTransition<S> where
<S as ResourceState>::Id: RefUnwindSafe,
<S as ResourceState>::Selector: RefUnwindSafe,
<S as ResourceState>::Usage: RefUnwindSafe,
<S as ResourceState>::Id: RefUnwindSafe,
<S as ResourceState>::Selector: RefUnwindSafe,
<S as ResourceState>::Usage: RefUnwindSafe,
impl<S> Send for PendingTransition<S> where
<S as ResourceState>::Id: Send,
<S as ResourceState>::Selector: Send,
<S as ResourceState>::Usage: Send,
<S as ResourceState>::Id: Send,
<S as ResourceState>::Selector: Send,
<S as ResourceState>::Usage: Send,
impl<S> Sync for PendingTransition<S> where
<S as ResourceState>::Id: Sync,
<S as ResourceState>::Selector: Sync,
<S as ResourceState>::Usage: Sync,
<S as ResourceState>::Id: Sync,
<S as ResourceState>::Selector: Sync,
<S as ResourceState>::Usage: Sync,
impl<S> Unpin for PendingTransition<S> where
<S as ResourceState>::Id: Unpin,
<S as ResourceState>::Selector: Unpin,
<S as ResourceState>::Usage: Unpin,
<S as ResourceState>::Id: Unpin,
<S as ResourceState>::Selector: Unpin,
<S as ResourceState>::Usage: Unpin,
impl<S> UnwindSafe for PendingTransition<S> where
<S as ResourceState>::Id: UnwindSafe,
<S as ResourceState>::Selector: UnwindSafe,
<S as ResourceState>::Usage: UnwindSafe,
<S as ResourceState>::Id: UnwindSafe,
<S as ResourceState>::Selector: UnwindSafe,
<S as ResourceState>::Usage: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,