Enum fitsio::types::HduInfo
[−]
[src]
pub enum HduInfo { ImageInfo { shape: Vec<usize>, image_type: ImageType, }, TableInfo { column_descriptions: Vec<ConcreteColumnDescription>, num_rows: usize, }, AnyInfo, }
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
ImageInfo
Fields of ImageInfo
shape: Vec<usize> | |
image_type: ImageType |
TableInfo
Fields of TableInfo
column_descriptions: Vec<ConcreteColumnDescription> | |
num_rows: usize |
AnyInfo