pub struct Growable { /* private fields */ }Expand description
Overflow for a bit vector that can grow. See Overflow.
Words are held in a chain of segments, appended when a word past the end of the chain is
requested. Segments are neither moved nor freed once published, so references to the words they
hold stay valid for as long as the vector. OnceLock publishes a segment to the other threads
walking the chain: one that doesn’t observe it enters get_or_init, which waits for the
initialization it missed.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Growable
impl RefUnwindSafe for Growable
impl Send for Growable
impl Sync for Growable
impl Unpin for Growable
impl UnsafeUnpin for Growable
impl UnwindSafe for Growable
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