Struct orx_concurrent_iter::Next
source · pub struct Next<T> {
pub idx: usize,
pub value: T,
}
Expand description
Result of a next_id_and_value
call on a concurrent iterator which contains two bits of information:
idx
: index of the element in the iterator.value
: of the element.
Fields§
§idx: usize
Index of the element in the iterator.
value: T
Value of the element.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Next<T>where
T: Freeze,
impl<T> RefUnwindSafe for Next<T>where
T: RefUnwindSafe,
impl<T> Send for Next<T>where
T: Send,
impl<T> Sync for Next<T>where
T: Sync,
impl<T> Unpin for Next<T>where
T: Unpin,
impl<T> UnwindSafe for Next<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