pub struct Exporter { /* private fields */ }Expand description
Exporter for simulation data.
Implementations§
Source§impl Exporter
impl Exporter
Sourcepub fn with_config(config: ExportConfig) -> Self
pub fn with_config(config: ExportConfig) -> Self
Create with custom config.
Sourcepub fn to_json_lines(
&self,
trajectory: &Trajectory,
path: &Path,
) -> SimResult<()>
pub fn to_json_lines( &self, trajectory: &Trajectory, path: &Path, ) -> SimResult<()>
Sourcepub fn from_binary(path: &Path) -> SimResult<Trajectory>
pub fn from_binary(path: &Path) -> SimResult<Trajectory>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Exporter
impl RefUnwindSafe for Exporter
impl Send for Exporter
impl Sync for Exporter
impl Unpin for Exporter
impl UnsafeUnpin for Exporter
impl UnwindSafe for Exporter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more