pub enum AnySurfaceMut<'a> {
Cells(&'a mut Surface<Cells>),
Pixels(&'a mut Surface<Pixels>),
}Expand description
AnySurface in the model the viewer uses now.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for AnySurfaceMut<'a>
impl<'a> !Send for AnySurfaceMut<'a>
impl<'a> !Sync for AnySurfaceMut<'a>
impl<'a> !UnwindSafe for AnySurfaceMut<'a>
impl<'a> Freeze for AnySurfaceMut<'a>
impl<'a> Unpin for AnySurfaceMut<'a>
impl<'a> UnsafeUnpin for AnySurfaceMut<'a>
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