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<T> PlaneMutSlice<'_, T>where
T: Pixel,
impl<T> PlaneMutSlice<'_, 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more