ItemReader

Trait ItemReader 

Source
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§

Source

fn init<R: Reader>(&mut self, item: &R, point: &mut LASPoint, context: &mut u32)

Initialize the reader

Source

fn read(&mut self, item: &mut LASPoint, context: &mut u32)

Read the next item

Source

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.

Implementors§