[−][src]Struct laz::las::laszip::LazVlr
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
Auto Trait Implementations
impl RefUnwindSafe for LazVlr
[src]
impl Send for LazVlr
[src]
impl Sync for LazVlr
[src]
impl Unpin for LazVlr
[src]
impl UnwindSafe for LazVlr
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,