Struct avec::AVecMapGuard
[−]
[src]
pub struct AVecMapGuard<'a, T: 'a> { /* fields omitted */ }
Result of AVec::map(). While this reference is valid, the associated AVec will panic on concurrent reads.
Methods
impl<'a, T> AVecMapGuard<'a, T>
[src]
fn mapped_range(&self) -> (usize, usize)
Returns the actual range on the associated AVec mapped by this guard.
fn len(&self) -> usize
Returns the length of the mapped range.
fn set(&self, index: usize, value: T) -> &Self
Sets an element within the mapped ranged of 0 <= index < size().