fits-io 0.2.0

A pure-Rust FITS file reading and writing library inspired by CFITSIO, focused on safety, clarity, and performance.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::Fits;

/// An extension HDU, which is one of the three kinds FITS defines.
#[derive(Debug, Clone)]
pub enum ExtensionHDU<F: Fits> {
    /// An image, or a stack of them.
    Image(F::ImageHDU),
    /// A binary table.
    BinTable(F::BinTableHDU),
    /// A table stored as fixed-width text.
    AsciiTable(F::AsciiTableHDU),
}