Enum gfx_hal::pass::SubpassRef
source · pub enum SubpassRef {
External,
Pass(usize),
}
Expand description
Which other subpasses a particular subpass depends on.
Variants
External
The subpass depends on something that was submitted to the queue before or after the render pass began.
Pass(usize)
The subpass depends on another subpass with the given index,
which must be less than or equal to the index of the current
subpass. The index here refers to the corresponding
SubpassId
of a Subpass
.
Trait Implementations
sourceimpl Clone for SubpassRef
impl Clone for SubpassRef
sourcefn clone(&self) -> SubpassRef
fn clone(&self) -> SubpassRef
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SubpassRef
impl Debug for SubpassRef
sourceimpl Hash for SubpassRef
impl Hash for SubpassRef
sourceimpl PartialEq<SubpassRef> for SubpassRef
impl PartialEq<SubpassRef> for SubpassRef
sourcefn eq(&self, other: &SubpassRef) -> bool
fn eq(&self, other: &SubpassRef) -> bool
impl Copy for SubpassRef
impl StructuralPartialEq for SubpassRef
Auto Trait Implementations
impl RefUnwindSafe for SubpassRef
impl Send for SubpassRef
impl Sync for SubpassRef
impl Unpin for SubpassRef
impl UnwindSafe for SubpassRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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