pub struct PlaneMutSlice<'a, T>where
T: Pixel,{
pub plane: &'a mut Plane<T>,
pub x: isize,
pub y: isize,
}
Fields§
§plane: &'a mut Plane<T>
§x: isize
§y: isize
Implementations§
source§impl<'a, T> PlaneMutSlice<'a, T>where
T: Pixel,
impl<'a, T> PlaneMutSlice<'a, T>where
T: Pixel,
pub fn rows_iter(&self) -> RowsIter<'_, T> ⓘ
pub fn rows_iter_mut(&mut self) -> RowsIterMut<'_, T> ⓘ
pub fn subslice(&mut self, xo: usize, yo: usize) -> PlaneMutSlice<'_, T>
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for PlaneMutSlice<'a, T>
impl<'a, T> RefUnwindSafe for PlaneMutSlice<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for PlaneMutSlice<'a, T>
impl<'a, T> Sync for PlaneMutSlice<'a, T>
impl<'a, T> Unpin for PlaneMutSlice<'a, T>
impl<'a, T> !UnwindSafe for PlaneMutSlice<'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