Struct oxygengine::prelude::JobsGroup
source · pub struct JobsGroup<T>(/* private fields */);
Implementations§
source§impl<T> JobsGroup<T>
impl<T> JobsGroup<T>
pub fn new<I>(iter: I) -> JobsGroup<T>where I: IntoIterator<Item = Job<T>>,
pub fn try_consume(self) -> Result<Vec<T, Global>, JobsGroup<T>>
pub fn consume(self) -> Vec<T, Global>
pub fn is_all_complete(&self) -> bool
pub fn is_any_dead(&self) -> bool
pub fn is_any_running(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for JobsGroup<T>where T: RefUnwindSafe,
impl<T> Send for JobsGroup<T>where T: Send,
impl<T> Sync for JobsGroup<T>where T: Sync,
impl<T> Unpin for JobsGroup<T>where T: Unpin,
impl<T> UnwindSafe for JobsGroup<T>where T: UnwindSafe,
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