[−][src]Trait las::feature::Feature
A trait implemented by each feature.
Required methods
fn is_supported_by(version: Version) -> bool
Is this feature supported by this version?
Examples
use las::feature::{Waveforms, Feature}; use las::Version; assert!(!Waveforms::is_supported_by(Version::new(1, 2))); assert!(Waveforms::is_supported_by(Version::new(1, 4)));
fn name() -> &'static str
Returns the name of this feature.
Examples
use las::feature::{Waveforms, Feature}; assert_eq!("Waveforms", Waveforms::name());