pub trait CopcPointSource {
// Required methods
fn len(&self) -> usize;
fn xyz(&self, index: usize) -> (f64, f64, f64);
fn fields(&self, index: usize) -> Result<CopcPointFields>;
// Provided methods
fn extra_byte_count(&self) -> u16 { ... }
fn extra_bytes_vlrs(&self) -> &[Vlr] { ... }
fn is_empty(&self) -> bool { ... }
}Expand description
Abstract point-data source for COPC emission.
Required Methods§
fn len(&self) -> usize
fn xyz(&self, index: usize) -> (f64, f64, f64)
fn fields(&self, index: usize) -> Result<CopcPointFields>
Provided Methods§
fn extra_byte_count(&self) -> u16
fn extra_bytes_vlrs(&self) -> &[Vlr]
fn is_empty(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".