pub enum Pixels<R> {
U8(It<R, u8>),
I16(It<R, i16>),
I32(It<R, i32>),
I64(It<R, i64>),
F32(It<R, f32>),
F64(It<R, f64>),
}Expand description
An iterator on the data array This is an enum whose content depends on the bitpix value found in the header part of the HDU
The data part is expressed as a DataOwned structure
for non in-memory readers (typically BufReader) that ensures
a file may not fit in memory
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Pixels<R>where
R: Freeze,
impl<R> RefUnwindSafe for Pixels<R>where
R: RefUnwindSafe,
impl<R> Send for Pixels<R>where
R: Send,
impl<R> Sync for Pixels<R>where
R: Sync,
impl<R> Unpin for Pixels<R>where
R: Unpin,
impl<R> UnwindSafe for Pixels<R>where
R: UnwindSafe,
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