Struct trk_io::Header [−][src]
pub struct Header { pub affine4: Affine4, pub affine: Affine, pub translation: Translation, pub nb_streamlines: usize, pub scalars_name: Vec<String>, pub properties_name: Vec<String>, // some fields omitted }
Fields
affine4: Affine4
affine: Affine
translation: Translation
nb_streamlines: usize
scalars_name: Vec<String>
properties_name: Vec<String>
Methods
impl Header
[src]
impl Header
pub fn add_scalar(&mut self, name: &str) -> Result<()>
[src]
pub fn add_scalar(&mut self, name: &str) -> Result<()>
pub fn read(reader: &mut BufReader<File>) -> Result<(Header, Endianness)>
[src]
pub fn read(reader: &mut BufReader<File>) -> Result<(Header, Endianness)>
pub fn write<W: WriteBytesExt>(&self, writer: &mut W) -> Result<()>
[src]
pub fn write<W: WriteBytesExt>(&self, writer: &mut W) -> Result<()>
Trait Implementations
impl Clone for Header
[src]
impl Clone for Header
fn clone(&self) -> Header
[src]
fn clone(&self) -> Header
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for Header
[src]
impl Default for Header
impl PartialEq for Header
[src]
impl PartialEq for Header