Trait las::feature::Feature[][src]

pub trait Feature {
    fn is_supported_by(version: Version) -> bool;
fn name() -> &'static str; }

A trait implemented by each feature.

Required methods

fn is_supported_by(version: Version) -> bool[src]

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[src]

Returns the name of this feature.

Examples

use las::feature::{Waveforms, Feature};
assert_eq!("Waveforms", Waveforms::name());
Loading content...

Implementors

impl Feature for Evlrs[src]

impl Feature for FileSourceId[src]

impl Feature for GpsStandardTime[src]

impl Feature for LargeFiles[src]

impl Feature for SyntheticReturnNumbers[src]

impl Feature for Waveforms[src]

Loading content...