pub enum Data<'a, R>where
R: BufRead,{
U8(Iter<'a, R, u8>),
I16(Iter<'a, R, i16>),
I32(Iter<'a, R, i32>),
I64(Iter<'a, R, i64>),
F32(Iter<'a, R, f32>),
F64(Iter<'a, 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§
U8(Iter<'a, R, u8>)
I16(Iter<'a, R, i16>)
I32(Iter<'a, R, i32>)
I64(Iter<'a, R, i64>)
F32(Iter<'a, R, f32>)
F64(Iter<'a, R, f64>)
Trait Implementations§
Auto Trait Implementations§
impl<'a, R> Freeze for Data<'a, R>
impl<'a, R> RefUnwindSafe for Data<'a, R>where
R: RefUnwindSafe,
impl<'a, R> Send for Data<'a, R>where
R: Send,
impl<'a, R> Sync for Data<'a, R>where
R: Sync,
impl<'a, R> Unpin for Data<'a, R>
impl<'a, R> !UnwindSafe for Data<'a, R>
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