pub struct Barrier {
pub signal_event: Option<u32>,
pub wait_events: Vec<u32>,
}Expand description
A barrier appended into a command list.
Models zeCommandListAppendBarrier: it signals signal_event (if any)
once all wait_events have completed. With no wait events it is a global
execution barrier across the list.
Fields§
§signal_event: Option<u32>Event signalled when the barrier completes (None = no signal).
wait_events: Vec<u32>Events that must complete before the barrier passes.
Implementations§
Trait Implementations§
impl Eq for Barrier
impl StructuralPartialEq for Barrier
Auto Trait Implementations§
impl Freeze for Barrier
impl RefUnwindSafe for Barrier
impl Send for Barrier
impl Sync for Barrier
impl Unpin for Barrier
impl UnsafeUnpin for Barrier
impl UnwindSafe for Barrier
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