Enum rubbl_fits::Bitpix[][src]

#[repr(i8)]pub enum Bitpix {
    U8,
    I16,
    I32,
    I64,
    F32,
    F64,
}

Possible values for the FITS “BITPIX” header, which identifies the storage format of FITS binary data.

Variants

U8

The data are stored as bytes or perhaps ASCII text.

I16

The data map to the Rust type i16.

I32

The data map to the Rust type i32.

I64

The data map to the Rust type i64.

F32

The data map to the Rust type f32.

F64

The data map to the Rust type f64.

Implementations

impl Bitpix[src]

pub fn n_bytes(&self) -> usize[src]

Get the size of a single item in this BITPIX setting, in bytes.

Trait Implementations

impl Clone for Bitpix[src]

impl Copy for Bitpix[src]

impl Debug for Bitpix[src]

impl Eq for Bitpix[src]

impl PartialEq<Bitpix> for Bitpix[src]

impl StructuralEq for Bitpix[src]

impl StructuralPartialEq for Bitpix[src]

Auto Trait Implementations

impl RefUnwindSafe for Bitpix

impl Send for Bitpix

impl Sync for Bitpix

impl Unpin for Bitpix

impl UnwindSafe for Bitpix

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.