Trait fitsrs::hdu::data::Access

source ·
pub trait Access {
    type Type;

    // Required methods
    fn get_data(&self) -> &Self::Type;
    fn get_data_mut(&mut self) -> &mut Self::Type;
}

Required Associated Types§

Required Methods§

source

fn get_data(&self) -> &Self::Type

source

fn get_data_mut(&mut self) -> &mut Self::Type

Implementors§

source§

impl<'a, R> Access for fitsrs::hdu::data::iter::Data<'a, R>
where R: BufRead,

§

type Type = Data<'a, R>

source§

impl<'a, R> Access for fitsrs::hdu::data::stream::Data<'a, R>
where R: AsyncBufRead + Unpin,

§

type Type = Data<'a, R>

source§

impl<'a, R> Access for Iter<'a, R, u8>
where R: BufRead,

§

type Type = Iter<'a, R, u8>

source§

impl<'a, R> Access for St<'a, R, u8>
where R: AsyncBufRead + Unpin,

§

type Type = St<'a, R, u8>

source§

impl<'a, R> Access for fitsrs::hdu::data::Data<'a, R>
where R: Read + Debug + 'a,

§

type Type = InMemData<'a>