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§
Source§impl Clone for SubpassRef
impl Clone for SubpassRef
Source§fn clone(&self) -> SubpassRef
fn clone(&self) -> SubpassRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SubpassRef
impl Debug for SubpassRef
Source§impl Hash for SubpassRef
impl Hash for SubpassRef
Source§impl PartialEq for SubpassRef
impl PartialEq for SubpassRef
impl Copy for SubpassRef
impl StructuralPartialEq for SubpassRef
Auto Trait Implementations§
impl Freeze for SubpassRef
impl RefUnwindSafe for SubpassRef
impl Send for SubpassRef
impl Sync for SubpassRef
impl Unpin for SubpassRef
impl UnwindSafe for SubpassRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more