[][src]Trait cryiorust::frame::Frame

pub trait Frame: Sync + Send {
    fn array(&self) -> &Array;
fn header(&self) -> &Header;
fn header_mut(&mut self) -> &mut Header;
fn array_mut(&mut self) -> &mut Array;
fn set_array(&mut self, array: Array); fn sum(&self) -> f64 { ... }
fn min(&self) -> f64 { ... }
fn max(&self) -> f64 { ... }
fn dim1(&self) -> usize { ... }
fn dim2(&self) -> usize { ... }
fn get_header_i64(&self, key: &str) -> Result<i64> { ... }
fn get_header_str_or_empty(&self, key: &str) -> &str { ... }
fn get_header_float(&self, key: &str) -> f64 { ... }
fn get_header_str(&self, key: &str) -> Result<&str> { ... }
fn get_header_float_as_string_or_empty(
        &self,
        key: &str,
        exp: bool
    ) -> String { ... }
fn get_header_int_as_string_or_empty(&self, key: &str) -> String { ... }
fn get_header_str_as_i64(&self, key: &str) -> Result<i64> { ... }
fn insert(&mut self, key: String, value: HeaderEntry) { ... } }

Required methods

fn array(&self) -> &Array

fn header(&self) -> &Header

fn header_mut(&mut self) -> &mut Header

fn array_mut(&mut self) -> &mut Array

fn set_array(&mut self, array: Array)

Loading content...

Provided methods

fn sum(&self) -> f64

fn min(&self) -> f64

fn max(&self) -> f64

fn dim1(&self) -> usize

fn dim2(&self) -> usize

fn get_header_i64(&self, key: &str) -> Result<i64>

fn get_header_str_or_empty(&self, key: &str) -> &str

fn get_header_float(&self, key: &str) -> f64

fn get_header_str(&self, key: &str) -> Result<&str>

fn get_header_float_as_string_or_empty(&self, key: &str, exp: bool) -> String

fn get_header_int_as_string_or_empty(&self, key: &str) -> String

fn get_header_str_as_i64(&self, key: &str) -> Result<i64>

fn insert(&mut self, key: String, value: HeaderEntry)

Loading content...

Trait Implementations

impl PartialEq<dyn Frame + 'static> for dyn Frame[src]

impl Index<usize> for dyn Frame[src]

type Output = f64

The returned type after indexing.

impl IndexMut<usize> for dyn Frame[src]

Implementors

impl Frame for BrukerFrame[src]

impl Frame for CbfFrame[src]

impl Frame for EdfFrame[src]

impl Frame for MarFrame[src]

Loading content...