Struct Pixels
pub struct Pixels<'a, I: ?Sized + 'a> { /* private fields */ }
Immutable pixel iterator
Trait Implementations
impl<'a, I: Debug + ?Sized + 'a> Debug for Pixels<'a, I>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<I: ?Sized> Clone for Pixels<'_, I>
fn clone(&self) -> Self
impl<I: GenericImageView> Iterator for Pixels<'_, I>
type Item = (u32, u32, <I as GenericImageView>::Pixel);fn next(&mut self) -> Option<(u32, u32, I::Pixel)>
Auto Trait Implementations
impl<'a, I> Freeze for Pixels<'a, I>
where
&'a I: Freeze,
I: ?Sized,
impl<'a, I> RefUnwindSafe for Pixels<'a, I>
where
&'a I: RefUnwindSafe,
I: ?Sized,
impl<'a, I> Send for Pixels<'a, I>
where
&'a I: Send,
I: ?Sized,
impl<'a, I> Sync for Pixels<'a, I>
where
&'a I: Sync,
I: ?Sized,
impl<'a, I> Unpin for Pixels<'a, I>
where
&'a I: Unpin,
I: ?Sized,
impl<'a, I> UnsafeUnpin for Pixels<'a, I>
where
&'a I: UnsafeUnpin,
I: ?Sized,
impl<'a, I> UnwindSafe for Pixels<'a, I>
where
&'a I: UnwindSafe,
I: ?Sized,
Blanket Implementations
impl<I> IntoIterator for Pixels<'a, I>
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<IT, A, FromA, B, FromB, C, FromC> MultiUnzip<(FromA, FromB, FromC)> for Pixels<'a, I>
where
IT: Iterator<Item = (A, B, C)>,
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
FromC: Default + Extend<C>,
fn multiunzip(self) -> (FromA, FromB, FromC)
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for Pixels<'a, I>
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for Pixels<'a, I>
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for Pixels<'a, I>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Pixels<'a, I>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Pixels<'a, I>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for Pixels<'a, I>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for Pixels<'a, I>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> IntoEither for Pixels<'a, I>
impl<T> Itertools for Pixels<'a, I>
where
T: Iterator + ?Sized,
impl<T> ParallelBridge for Pixels<'a, I>
where
T: Iterator + Send,
<T as Iterator>::Item: Send,
fn par_bridge(self) -> IterBridge<T>
impl<T> Pointable for Pixels<'a, I>
const ALIGN: usize = _;type Init = T;unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T> Read<Exclusive, BecauseExclusive> for Pixels<'a, I>
where
T: ?Sized,
impl<T> ToOwned for Pixels<'a, I>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for Pixels<'a, I>
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 Pixels<'a, I>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Pixels<'a, I>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>