Struct pasture_io::las::LasPointFormat2
source · #[repr(C, packed(1))]pub struct LasPointFormat2 {
pub position: Vector3<f64>,
pub intensity: u16,
pub return_number: u8,
pub number_of_returns: u8,
pub scan_direction_flag: u8,
pub edge_of_flight_line: u8,
pub classification: u8,
pub scan_angle_rank: i8,
pub user_data: u8,
pub point_source_id: u16,
pub color_rgb: Vector3<u16>,
}
Expand description
Point type for LAS point format 2
Fields§
§position: Vector3<f64>
§intensity: u16
§return_number: u8
§number_of_returns: u8
§scan_direction_flag: u8
§edge_of_flight_line: u8
§classification: u8
§scan_angle_rank: i8
§user_data: u8
§point_source_id: u16
§color_rgb: Vector3<u16>
Trait Implementations§
source§impl Clone for LasPointFormat2
impl Clone for LasPointFormat2
source§fn clone(&self) -> LasPointFormat2
fn clone(&self) -> LasPointFormat2
Returns a copy of the value. Read more
1.0.0 · 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 LasPointFormat2
impl Debug for LasPointFormat2
source§impl Default for LasPointFormat2
impl Default for LasPointFormat2
source§fn default() -> LasPointFormat2
fn default() -> LasPointFormat2
Returns the “default value” for a type. Read more
source§impl From<Point> for LasPointFormat2
impl From<Point> for LasPointFormat2
source§impl PartialEq for LasPointFormat2
impl PartialEq for LasPointFormat2
source§fn eq(&self, other: &LasPointFormat2) -> bool
fn eq(&self, other: &LasPointFormat2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PointType for LasPointFormat2
impl PointType for LasPointFormat2
source§fn layout() -> PointLayout
fn layout() -> PointLayout
Returns the associated
PointLayout
that describes the type implementing this trait. Read moreimpl AnyBitPattern for LasPointFormat2
impl Copy for LasPointFormat2
impl NoUninit for LasPointFormat2
impl StructuralPartialEq for LasPointFormat2
Auto Trait Implementations§
impl RefUnwindSafe for LasPointFormat2
impl Send for LasPointFormat2
impl Sync for LasPointFormat2
impl Unpin for LasPointFormat2
impl UnwindSafe for LasPointFormat2
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
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.