Struct las::point::NumberOfReturns [] [src]

pub struct NumberOfReturns(_);

The total number of returns detected from a given pulse.

Methods

impl NumberOfReturns
[src]

True if this return number is valid (between one and five).

Examples

assert!(NumberOfReturns::from(8).is_valid());
assert!(!NumberOfReturns::from(0b00111000).is_valid());

Trait Implementations

impl Default for NumberOfReturns
[src]

Returns the "default value" for a type. Read more

impl Debug for NumberOfReturns
[src]

Formats the value using the given formatter.

impl Copy for NumberOfReturns
[src]

impl Clone for NumberOfReturns
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<u8> for NumberOfReturns
[src]

Performs the conversion.