[][src]Struct laz::las::laszip::LazVlr

pub struct LazVlr { /* fields omitted */ }

The data stored in the record_data of the Laszip Vlr

This vlr contains information needed to compress or decompress LAZ/LAS data. Such as the points per chunk, the fields & version of the compression/decompression algorithm.

Implementations

impl LazVlr[src]

pub fn from_laz_items(items: Vec<LazItem>) -> Self[src]

pub fn from_buffer(record_data: &[u8]) -> Result<Self>[src]

Tries to read the Vlr information from the record_data buffer

pub fn read_from<R: Read>(mut src: &mut R) -> Result<Self>[src]

Tries to read the Vlr information from the record_data source

pub fn write_to<W: Write>(&self, mut dst: &mut W) -> Result<()>[src]

Writes the Vlr to the source, this only write the 'record_data' the header should be written before-hand

pub fn chunk_size(&self) -> u32[src]

pub fn items(&self) -> &Vec<LazItem>[src]

pub fn items_size(&self) -> u64[src]

Returns the sum of the size of the laz_items, which should correspond to the expected size of points (uncompressed).

Trait Implementations

impl Clone for LazVlr[src]

impl Debug for LazVlr[src]

impl Default for LazVlr[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.