use anyhow::Result;
use pasture_core::{containers::BorrowedBuffer, layout::PointLayout};
pub trait PointWriter {
fn write<'a, B: BorrowedBuffer<'a>>(&mut self, points: &'a B) -> Result<()>;
fn flush(&mut self) -> Result<()>;
fn get_default_point_layout(&self) -> &PointLayout;
}