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
ImageInfo
Fields
dimensions: usize | |
shape: Vec<usize> |
TableInfo
Fields
column_names: Vec<String> | |
column_types: Vec<DataType> | |
num_rows: usize |
Trait Implementations
impl PartialEq for HduInfo
[src]
fn eq(&self, __arg_0: &HduInfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HduInfo) -> bool
This method tests for !=
.