pub(crate) struct Claims<'w> {
world: &'w World,
group: u64,
}Expand description
The claims one holder owns, released together when it is dropped.
A holder keeps its claims for its whole life rather than for one pass over the rows: an item it handed out borrows from it, so a claim released between two items would let another holder reach a value an item still points at.
Fields§
§world: &'w World§group: u64What every claim this holder makes is filed under.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'w> !RefUnwindSafe for Claims<'w>
impl<'w> !Send for Claims<'w>
impl<'w> !Sync for Claims<'w>
impl<'w> !UnwindSafe for Claims<'w>
impl<'w> Forget for Claims<'w>
impl<'w> Freeze for Claims<'w>
impl<'w> Unpin for Claims<'w>
impl<'w> UnsafeUnpin for Claims<'w>
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