pub struct ReadOnlyMap<'a, V, S: Storage<V> = VecStorage<V>> {
pub section: &'a Section<V, S>,
/* private fields */
}Expand description
Read-only wrapper for a section.
Fields§
§section: &'a Section<V, S>Underlying [Section] providing slice data.
Trait Implementations§
Source§impl<'a, V, S> FallibleMap<V> for ReadOnlyMap<'a, V, S>where
S: Storage<V>,
impl<'a, V, S> FallibleMap<V> for ReadOnlyMap<'a, V, S>where
S: Storage<V>,
Source§fn try_get_mut(&mut self, _p: PointId) -> Result<&mut [V], MeshSieveError>
fn try_get_mut(&mut self, _p: PointId) -> Result<&mut [V], MeshSieveError>
Mutable access to
p’s slice.Auto Trait Implementations§
impl<'a, V, S> Freeze for ReadOnlyMap<'a, V, S>
impl<'a, V, S> RefUnwindSafe for ReadOnlyMap<'a, V, S>where
V: RefUnwindSafe,
S: RefUnwindSafe,
impl<'a, V, S> Send for ReadOnlyMap<'a, V, S>
impl<'a, V, S> Sync for ReadOnlyMap<'a, V, S>
impl<'a, V, S> Unpin for ReadOnlyMap<'a, V, S>where
V: Unpin,
impl<'a, V, S> UnsafeUnpin for ReadOnlyMap<'a, V, S>
impl<'a, V, S> UnwindSafe for ReadOnlyMap<'a, V, S>
Blanket Implementations§
Source§impl<T> AccumulatePathExt for T
impl<T> AccumulatePathExt for T
fn accumulate_path<O, I>(path: I) -> Owhere
O: Orientation,
I: IntoIterator<Item = O>,
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