pub enum ImageType {
U8,
I8,
I16,
U16,
I32,
U32,
I64,
U64,
F32,
F64,
}Expand description
Image BITPIX / CFITSIO unsigned-image codes.
Variants§
U8
BYTE_IMG / BITPIX = 8.
I8
SBYTE_IMG / BITPIX = 8 + BZERO = -128.
I16
SHORT_IMG / BITPIX = 16.
U16
USHORT_IMG / BITPIX = 16 + BZERO = 32768.
I32
LONG_IMG / BITPIX = 32.
U32
ULONG_IMG / BITPIX = 32 + BZERO = 2^31.
I64
LONGLONG_IMG / BITPIX = 64.
U64
ULONGLONG_IMG / BITPIX = 64 + BZERO = 2^63.
F32
FLOAT_IMG / BITPIX = -32.
F64
DOUBLE_IMG / BITPIX = -64.
Implementations§
Trait Implementations§
impl Copy for ImageType
impl Eq for ImageType
impl StructuralPartialEq for ImageType
Auto Trait Implementations§
impl Freeze for ImageType
impl RefUnwindSafe for ImageType
impl Send for ImageType
impl Sync for ImageType
impl Unpin for ImageType
impl UnsafeUnpin for ImageType
impl UnwindSafe for ImageType
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