Struct PlaneIter
pub struct PlaneIter<'a, T: Pixel> { /* private fields */ }
Iterator over plane pixels, skipping padding.
Implementations
impl<'a, T: Pixel> PlaneIter<'a, T>
fn new(plane: &'a Plane<T>) -> SelfCreates a new iterator.
Trait Implementations
impl<'a, T: Debug + Pixel> Debug for PlaneIter<'a, T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T: Pixel> FusedIterator for PlaneIter<'_, T>
impl<T: Pixel> Iterator for PlaneIter<'_, T>
type Item = T;fn next(&mut self) -> Option<<Self as Iterator>::Item>
Auto Trait Implementations
impl<'a, T> Freeze for PlaneIter<'a, T>
where
&'a Plane<T>: Freeze,
impl<'a, T> RefUnwindSafe for PlaneIter<'a, T>
where
&'a Plane<T>: RefUnwindSafe,
impl<'a, T> Send for PlaneIter<'a, T>
where
&'a Plane<T>: Send,
impl<'a, T> Sync for PlaneIter<'a, T>
where
&'a Plane<T>: Sync,
impl<'a, T> Unpin for PlaneIter<'a, T>
where
&'a Plane<T>: Unpin,
impl<'a, T> UnsafeUnpin for PlaneIter<'a, T>
where
&'a Plane<T>: UnsafeUnpin,
impl<'a, T> UnwindSafe for PlaneIter<'a, T>
where
&'a Plane<T>: UnwindSafe,
Blanket Implementations
impl<I> IntoIterator for PlaneIter<'a, T>
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for PlaneIter<'a, T>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for PlaneIter<'a, T>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for PlaneIter<'a, T>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for PlaneIter<'a, T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for PlaneIter<'a, T>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for PlaneIter<'a, T>
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for PlaneIter<'a, T>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>