Expand description
Programatically determine whether a las version supports a feature.
Features are structures that implement the Feature
trait. The most common way to use features
is via Version::supports
or Version::verify_support_for
:
use las::feature::Waveforms;
use las::{Version, Error};
let las_1_2 = Version::new(1, 2);
assert!(!las_1_2.supports::<Waveforms>());
assert!(las_1_2.verify_support_for::<Waveforms>().is_err());
let las_1_4 = Version::new(1, 4);
assert!(las_1_4.supports::<Waveforms>());
assert!(las_1_4.verify_support_for::<Waveforms>().is_ok());
Structs§
- Does this file support extended variable length records?
- Does the header allow a file source id, or is that field reserved?
- Is there a bit flag to set the type of time value in each point?
- Does this file support 64-bit point counts?
- Is there a bit flag to indicate synthetic return numbers?
- Does this file support waveforms?
Traits§
- A trait implemented by each feature.