struct CsvWriter<T> {
observer: Box<dyn EventsObserver<T>>,
path: String,
sep: String,
append: Option<(String, String)>,
writer: Option<BufWriter<File>>,
}
Expand description
Write CSV files of time series
Fields
observer: Box<dyn EventsObserver<T>>
path: String
sep: String
append: Option<(String, String)>
writer: Option<BufWriter<File>>
Implementations
Trait Implementations
sourceimpl<T> System for CsvWriter<T> where
T: Display,
impl<T> System for CsvWriter<T> where
T: Display,
fn initialize(&mut self, world: &mut World, resources: &mut Resources)
fn update(&mut self, world: &mut World, resources: &mut Resources)
fn finalize(&mut self, _world: &mut World, _resources: &mut Resources)
fn init_boars(
&self,
_world: &mut World,
_resources: &mut Resources,
_boars: &[Entity]
)
Auto Trait Implementations
impl<T> !RefUnwindSafe for CsvWriter<T>
impl<T> Send for CsvWriter<T>
impl<T> !Sync for CsvWriter<T>
impl<T> Unpin for CsvWriter<T>
impl<T> !UnwindSafe for CsvWriter<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more