[−][src]Struct cryiorust::cbf::CbfFrame
Methods
impl CbfFrame
[src]
pub fn save_array<P: Write>(
array: &Array,
header: Header,
name: &str,
writer: &mut P
) -> Result<()>
[src]
array: &Array,
header: Header,
name: &str,
writer: &mut P
) -> Result<()>
pub fn write_file<P: AsRef<Path>>(&mut self, path: P) -> Result<()>
[src]
pub fn created(&self) -> &DateTime<Local>
[src]
pub fn name(&self) -> &str
[src]
pub fn read_file<P: AsRef<Path>>(path: P) -> Result<CbfFrame>
[src]
pub fn read_buffer<R: BufRead + Seek>(
reader: R,
unpack: bool
) -> Result<CbfFrame>
[src]
reader: R,
unpack: bool
) -> Result<CbfFrame>
pub fn unpack(&mut self) -> Result<()>
[src]
pub fn header(&self) -> &Header
[src]
Trait Implementations
impl Frame for CbfFrame
[src]
fn array(&self) -> &Array
[src]
fn header(&self) -> &Header
[src]
fn header_mut(&mut self) -> &mut Header
[src]
fn array_mut(&mut self) -> &mut Array
[src]
fn set_array(&mut self, array: Array)
[src]
fn sum(&self) -> f64
[src]
fn min(&self) -> f64
[src]
fn max(&self) -> f64
[src]
fn dim1(&self) -> usize
[src]
fn dim2(&self) -> usize
[src]
fn get_header_i64(&self, key: &str) -> Result<i64>
[src]
fn get_header_str_or_empty(&self, key: &str) -> &str
[src]
fn get_header_float(&self, key: &str) -> f64
[src]
fn get_header_str(&self, key: &str) -> Result<&str>
[src]
fn get_header_float_as_string_or_empty(&self, key: &str, exp: bool) -> String
[src]
fn get_header_int_as_string_or_empty(&self, key: &str) -> String
[src]
fn get_header_str_as_i64(&self, key: &str) -> Result<i64>
[src]
fn insert(&mut self, key: String, value: HeaderEntry)
[src]
Auto Trait Implementations
impl Send for CbfFrame
impl Sync for CbfFrame
impl Unpin for CbfFrame
impl UnwindSafe for CbfFrame
impl RefUnwindSafe for CbfFrame
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,