pub struct AVecMapGuard<'a, T: 'a> { /* private fields */ }
Expand description
Result of AVec::map(). While this reference is valid, the associated AVec will panic on concurrent reads.
Implementations§
Source§impl<'a, T> AVecMapGuard<'a, T>
impl<'a, T> AVecMapGuard<'a, T>
Sourcepub fn mapped_range(&self) -> (usize, usize)
pub fn mapped_range(&self) -> (usize, usize)
Returns the actual range on the associated AVec mapped by this guard.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for AVecMapGuard<'a, T>
impl<'a, T> !RefUnwindSafe for AVecMapGuard<'a, T>
impl<'a, T> Send for AVecMapGuard<'a, T>
impl<'a, T> Sync for AVecMapGuard<'a, T>
impl<'a, T> Unpin for AVecMapGuard<'a, T>
impl<'a, T> !UnwindSafe for AVecMapGuard<'a, T>
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