pub struct FitsImageHeader {
pub path: PathBuf,
pub nx: usize,
pub ny: usize,
pub nplanes: usize,
pub dx_deg: f64,
pub dy_deg: f64,
pub beam: Beam,
pub unit: BrightnessUnit,
pub dtype: PixelType,
}Expand description
Header metadata of a 2D image, or of the first plane of a 4D one.
Fields§
§path: PathBuf§nx: usize§ny: usize§nplanes: usizePlanes beyond the first (1 for a plain image).
dx_deg: f64|CDELT1| in degrees.
dy_deg: f64|CDELT2| in degrees.
beam: Beam§unit: BrightnessUnit§dtype: PixelTypeTrait Implementations§
Source§impl Clone for FitsImageHeader
impl Clone for FitsImageHeader
Auto Trait Implementations§
impl Freeze for FitsImageHeader
impl RefUnwindSafe for FitsImageHeader
impl Send for FitsImageHeader
impl Sync for FitsImageHeader
impl Unpin for FitsImageHeader
impl UnsafeUnpin for FitsImageHeader
impl UnwindSafe for FitsImageHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more