pub struct StreamingLayout {
pub point_format: u8,
pub has_gps: bool,
pub has_color: bool,
pub has_nir: bool,
pub has_waveform: bool,
}Expand description
Records which optional dimensions are present in a streaming pass.
Fields§
§point_format: u8§has_gps: bool§has_color: bool§has_nir: bool§has_waveform: boolImplementations§
Source§impl StreamingLayout
impl StreamingLayout
pub fn from_las_format(format: LasFormat) -> Self
Sourcepub const fn record_width(&self) -> usize
pub const fn record_width(&self) -> usize
Compute the spill width in bytes per record.
pub const fn max_record_width() -> usize
Trait Implementations§
Source§impl Clone for StreamingLayout
impl Clone for StreamingLayout
Source§fn clone(&self) -> StreamingLayout
fn clone(&self) -> StreamingLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamingLayout
impl Debug for StreamingLayout
Source§impl PartialEq for StreamingLayout
impl PartialEq for StreamingLayout
Source§fn eq(&self, other: &StreamingLayout) -> bool
fn eq(&self, other: &StreamingLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StreamingLayout
impl Eq for StreamingLayout
impl StructuralPartialEq for StreamingLayout
Auto Trait Implementations§
impl Freeze for StreamingLayout
impl RefUnwindSafe for StreamingLayout
impl Send for StreamingLayout
impl Sync for StreamingLayout
impl Unpin for StreamingLayout
impl UnsafeUnpin for StreamingLayout
impl UnwindSafe for StreamingLayout
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