Struct laz::laszip::LazVlrBuilder
source · pub struct LazVlrBuilder { /* private fields */ }
Expand description
Builder struct to personalize the LazVlr
§Examples
let vlr = laz::LazVlrBuilder::default()
.with_point_format(1, 0)?
.build();
let vlr = laz::LazVlrBuilder::default()
.with_point_format(1, 0)?
.with_fixed_chunk_size(60_000)
.build();
Implementations§
source§impl LazVlrBuilder
impl LazVlrBuilder
pub fn new(laz_items: Vec<LazItem>) -> Self
pub fn with_point_format( self, point_format_id: u8, num_extra_bytes: u16 ) -> Result<Self>
pub fn with_laz_items(self, laz_items: Vec<LazItem>) -> Self
pub fn with_fixed_chunk_size(self, chunk_size: u32) -> Self
pub fn with_variable_chunk_size(self) -> Self
pub fn build(self) -> LazVlr
pub fn with_chunk_size(self, chunk_size: u32) -> Self
👎Deprecated since 0.6.0: Please use LazVlrBuilder::with_fixed_chunk_size
pub fn from_laz_items(laz_items: Vec<LazItem>) -> Self
👎Deprecated since 0.6.0: Please use LazVlrBuilder::new(laz_items)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LazVlrBuilder
impl RefUnwindSafe for LazVlrBuilder
impl Send for LazVlrBuilder
impl Sync for LazVlrBuilder
impl Unpin for LazVlrBuilder
impl UnwindSafe for LazVlrBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more