Struct Pixels

pub struct Pixels<'a, P: Pixel + 'a>
where
    P::Subpixel: 'a, { /* private fields */ }

Iterate over pixel refs.

Trait Implementations

impl<'a, P: Pixel + 'a> DoubleEndedIterator for Pixels<'a, P> where P::Subpixel: 'a,

fn next_back(&mut self) -> Option<&'a P>

impl<'a, P: Pixel + 'a> ExactSizeIterator for Pixels<'a, P> where P::Subpixel: 'a,

fn len(&self) -> usize

impl<'a, P: Pixel + 'a> Iterator for Pixels<'a, P> where P::Subpixel: 'a,

type Item = &'a P;
fn next(&mut self) -> Option<&'a P>
fn size_hint(&self) -> (usize, Option<usize>)

impl<P: Pixel> Clone for Pixels<'_, P>

fn clone(&self) -> Self

impl<P: Pixel> Debug for Pixels<'_, P> where P::Subpixel: Debug,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Auto Trait Implementations

impl<'a, P> Freeze for Pixels<'a, P> where ChunksExact<'a, <P as Pixel>::Subpixel>: Freeze,

impl<'a, P> RefUnwindSafe for Pixels<'a, P> where ChunksExact<'a, <P as Pixel>::Subpixel>: RefUnwindSafe,

impl<'a, P> Send for Pixels<'a, P> where ChunksExact<'a, <P as Pixel>::Subpixel>: Send,

impl<'a, P> Sync for Pixels<'a, P> where ChunksExact<'a, <P as Pixel>::Subpixel>: Sync,

impl<'a, P> Unpin for Pixels<'a, P> where ChunksExact<'a, <P as Pixel>::Subpixel>: Unpin,

impl<'a, P> UnsafeUnpin for Pixels<'a, P> where ChunksExact<'a, <P as Pixel>::Subpixel>: UnsafeUnpin,

impl<'a, P> UnwindSafe for Pixels<'a, P> where ChunksExact<'a, <P as Pixel>::Subpixel>: UnwindSafe,

Blanket Implementations

impl<I> IntoIterator for Pixels<'a, P> where I: Iterator,

type Item = <I as Iterator>::Item;
type IntoIter = I;
fn into_iter(self) -> I

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for Pixels<'a, P> where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for Pixels<'a, P> where ST: ?Sized, DT: ?Sized,

impl<T> Any for Pixels<'a, P> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for Pixels<'a, P> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for Pixels<'a, P> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for Pixels<'a, P> where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for Pixels<'a, P>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> IntoEither for Pixels<'a, P>

impl<T> Itertools for Pixels<'a, P> where T: Iterator + ?Sized,

impl<T> ParallelBridge for Pixels<'a, P> where T: Iterator + Send, <T as Iterator>::Item: Send,

fn par_bridge(self) -> IterBridge<T>

impl<T> Pointable for Pixels<'a, P>

const ALIGN: usize = _;
type Init = T;
unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)

impl<T> Read<Exclusive, BecauseExclusive> for Pixels<'a, P> where T: ?Sized,

impl<T> ToOwned for Pixels<'a, P> where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for Pixels<'a, P> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for Pixels<'a, P> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for Pixels<'a, P> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>