pub struct Barrier<R: Resource> {
pub families: Option<Range<QueueFamilyId>>,
pub states: Range<(R::Access, R::Layout, PipelineStage)>,
}
Expand description
Pipeline barrier info.
Fields§
§families: Option<Range<QueueFamilyId>>
Some
queue for ownership transfer. Or None
states: Range<(R::Access, R::Layout, PipelineStage)>
State transition.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Barrier<R>
impl<R> RefUnwindSafe for Barrier<R>
impl<R> Send for Barrier<R>
impl<R> Sync for Barrier<R>
impl<R> Unpin for Barrier<R>
impl<R> UnwindSafe for Barrier<R>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)