Enum fitrs::HeaderValue
source · pub enum HeaderValue {
CharacterString(String),
Logical(bool),
IntegerNumber(i32),
RealFloatingNumber(f64),
ComplexIntegerNumber(i64, i64),
ComplexFloatingNumber(f64, f64),
}
Expand description
Value stored inside the Hdu
header.
As defined in FITS standard 5.2.
Variants
CharacterString(String)
Logical(bool)
IntegerNumber(i32)
RealFloatingNumber(f64)
ComplexIntegerNumber(i64, i64)
ComplexFloatingNumber(f64, f64)
Trait Implementations
sourceimpl Debug for HeaderValue
impl Debug for HeaderValue
sourceimpl<'a> From<&'a str> for HeaderValue
impl<'a> From<&'a str> for HeaderValue
sourcefn from(s: &str) -> HeaderValue
fn from(s: &str) -> HeaderValue
Converts to this type from the input type.
sourceimpl From<String> for HeaderValue
impl From<String> for HeaderValue
sourcefn from(s: String) -> HeaderValue
fn from(s: String) -> HeaderValue
Converts to this type from the input type.
sourceimpl From<f32> for HeaderValue
impl From<f32> for HeaderValue
sourcefn from(f: f32) -> HeaderValue
fn from(f: f32) -> HeaderValue
Converts to this type from the input type.
sourceimpl From<f64> for HeaderValue
impl From<f64> for HeaderValue
sourcefn from(f: f64) -> HeaderValue
fn from(f: f64) -> HeaderValue
Converts to this type from the input type.
sourceimpl From<i32> for HeaderValue
impl From<i32> for HeaderValue
sourcefn from(n: i32) -> HeaderValue
fn from(n: i32) -> HeaderValue
Converts to this type from the input type.
sourceimpl PartialEq<HeaderValue> for HeaderValue
impl PartialEq<HeaderValue> for HeaderValue
sourcefn eq(&self, other: &HeaderValue) -> bool
fn eq(&self, other: &HeaderValue) -> bool
impl StructuralPartialEq for HeaderValue
Auto Trait Implementations
impl RefUnwindSafe for HeaderValue
impl Send for HeaderValue
impl Sync for HeaderValue
impl Unpin for HeaderValue
impl UnwindSafe for HeaderValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more