pub struct BarrierCondition(/* private fields */);
Expand description
Waits for the destruction of all associated Barrier
handles.
Implementations§
Source§impl BarrierCondition
impl BarrierCondition
Sourcepub fn is_completed(&self) -> bool
pub fn is_completed(&self) -> bool
Checks if the condition has been completed, i.e., that all the associated barriers have been destroyed.
Trait Implementations§
Source§impl Clone for BarrierCondition
impl Clone for BarrierCondition
Source§fn clone(&self) -> BarrierCondition
fn clone(&self) -> BarrierCondition
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 moreAuto Trait Implementations§
impl Freeze for BarrierCondition
impl !RefUnwindSafe for BarrierCondition
impl !Send for BarrierCondition
impl !Sync for BarrierCondition
impl Unpin for BarrierCondition
impl !UnwindSafe for BarrierCondition
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