pub trait ItemReader {
// Required methods
fn init<R: Reader>(
&mut self,
item: &R,
point: &mut LASPoint,
context: &mut u32,
);
fn read(&mut self, item: &mut LASPoint, context: &mut u32);
fn chunk_sizes<R: Reader>(&mut self, reader: &R);
}Expand description
Template for reading data
Required Methods§
Sourcefn init<R: Reader>(&mut self, item: &R, point: &mut LASPoint, context: &mut u32)
fn init<R: Reader>(&mut self, item: &R, point: &mut LASPoint, context: &mut u32)
Initialize the reader
Sourcefn chunk_sizes<R: Reader>(&mut self, reader: &R)
fn chunk_sizes<R: Reader>(&mut self, reader: &R)
Read in chunk sizes
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.