Struct v_frame::plane::PlaneMutSlice[][src]

pub struct PlaneMutSlice<'a, T: Pixel> {
    pub plane: &'a mut Plane<T>,
    pub x: isize,
    pub y: isize,
}

Fields

plane: &'a mut Plane<T>x: isizey: isize

Implementations

impl<'a, T: Pixel> PlaneMutSlice<'a, T>[src]

pub fn rows_iter(&self) -> RowsIter<'_, T>

Notable traits for RowsIter<'a, T>

impl<'a, T: Pixel> Iterator for RowsIter<'a, T> type Item = &'a [T];
[src]

pub fn rows_iter_mut(&mut self) -> RowsIterMut<'_, T>

Notable traits for RowsIterMut<'a, T>

impl<'a, T: Pixel> Iterator for RowsIterMut<'a, T> type Item = &'a mut [T];
[src]

pub fn subslice(&mut self, xo: usize, yo: usize) -> PlaneMutSlice<'_, T>[src]

Trait Implementations

impl<'a, T: Pixel> Index<usize> for PlaneMutSlice<'a, T>[src]

type Output = [T]

The returned type after indexing.

impl<'a, T: Pixel> IndexMut<usize> for PlaneMutSlice<'a, T>[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.