pub trait ViewMut<'a> {
type Type: Viewed;
// Required method
fn view_mut(&'a mut self) -> Self::Type;
}
Expand description
A trait defining a collection that can be accessed via a mutable (unique) view.
Required Associated Types§
Required Methods§
Implementations on Foreign Types§
Source§impl<'a, S: ?Sized + 'a + ViewMut<'a>> ViewMut<'a> for &mut S
Blanket implementation of ViewMut
for all mutable borrows.
impl<'a, S: ?Sized + 'a + ViewMut<'a>> ViewMut<'a> for &mut S
Blanket implementation of ViewMut
for all mutable borrows.