Enum fitsio::HduInfo [] [src]

pub enum HduInfo {
    ImageInfo {
        dimensions: usize,
        shape: Vec<usize>,
    },
    TableInfo {
        column_names: Vec<String>,
        column_types: Vec<DataType>,
        num_rows: usize,
    },
}

Description of the current HDU

If the current HDU is an image, then fetch_hdu_info returns HduInfo::ImageInfo. Otherwise the variant is HduInfo::TableInfo.

Variants

Fields

Fields

Trait Implementations

impl PartialEq for HduInfo
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for HduInfo
[src]

impl Debug for HduInfo
[src]

Formats the value using the given formatter.