pub struct FitsSlice { /* private fields */ }Expand description
A Fits file created from a buffer
Implementations§
Trait Implementations§
Source§impl Fits for FitsSlice
impl Fits for FitsSlice
type ImageHDU = SliceImageHDU
type BinTableHDU = SliceBinTableHDU
type AsciiTableHDU = SliceAsciiTableHDU
fn primary_hdu(&self) -> &Self::ImageHDU
fn primary_hdu_mut(&mut self) -> &mut Self::ImageHDU
fn extension_count(&mut self) -> usize
fn extension_hdu(&self, index: usize) -> Option<&ExtensionHDU<Self>>
fn extension_hdu_mut(&mut self, index: usize) -> Option<&mut ExtensionHDU<Self>>
fn extension_hdus(&self) -> impl Iterator<Item = &ExtensionHDU<Self>>
fn extension_hdus_mut( &mut self, ) -> impl Iterator<Item = &mut ExtensionHDU<Self>>
fn to_vec(&self) -> Vec<u8> ⓘ
Auto Trait Implementations§
impl Freeze for FitsSlice
impl RefUnwindSafe for FitsSlice
impl Send for FitsSlice
impl Sync for FitsSlice
impl Unpin for FitsSlice
impl UnwindSafe for FitsSlice
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> 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