Struct HeaderRaw

Source
pub struct HeaderRaw {
Show 37 fields pub file_signature: [u8; 4], pub file_source_id: u16, pub global_encoding: u16, pub guid1: u32, pub guid2: u16, pub guid3: u16, pub guid4: [u8; 8], pub version_major: u8, pub version_minor: u8, pub system_identifier: [u8; 32], pub generating_software: [u8; 32], pub file_creation_day: u16, pub file_creation_year: u16, pub header_size: u16, pub offset_point_data: u32, pub n_variable_length_records: u32, pub point_record_format: u8, pub point_record_length: u16, pub legacy_n_point_records: u32, pub legacy_n_point_return: [u32; 5], pub scale_factor_x: f64, pub scale_factor_y: f64, pub scale_factor_z: f64, pub offset_x: f64, pub offset_y: f64, pub offset_z: f64, pub max_x: f64, pub min_x: f64, pub max_y: f64, pub min_y: f64, pub max_z: f64, pub min_z: f64, pub start_wavefront_data: u64, pub start_extended_variable_length: u64, pub n_extended_variable_length: u32, pub n_point_records: u64, pub n_points_return: [u64; 15],
}

Fields§

§file_signature: [u8; 4]§file_source_id: u16§global_encoding: u16§guid1: u32§guid2: u16§guid3: u16§guid4: [u8; 8]§version_major: u8§version_minor: u8§system_identifier: [u8; 32]§generating_software: [u8; 32]§file_creation_day: u16§file_creation_year: u16§header_size: u16§offset_point_data: u32§n_variable_length_records: u32§point_record_format: u8§point_record_length: u16§legacy_n_point_records: u32§legacy_n_point_return: [u32; 5]§scale_factor_x: f64§scale_factor_y: f64§scale_factor_z: f64§offset_x: f64§offset_y: f64§offset_z: f64§max_x: f64§min_x: f64§max_y: f64§min_y: f64§max_z: f64§min_z: f64§start_wavefront_data: u64§start_extended_variable_length: u64§n_extended_variable_length: u32§n_point_records: u64§n_points_return: [u64; 15]

Trait Implementations§

Source§

impl Debug for HeaderRaw

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl TryFrom<HeaderRaw> for Header

Source§

type Error = LasError

The type returned in the event of a conversion error.
Source§

fn try_from(x: HeaderRaw) -> LasResult<Header>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.