Struct laz::las::Point2

source ·
pub struct Point2 { /* private fields */ }

Trait Implementations§

source§

impl Clone for Point2

source§

fn clone(&self) -> Point2

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Point2

source§

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

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

impl Default for Point2

source§

fn default() -> Point2

Returns the “default value” for a type. Read more
source§

impl DefaultVersion for Point2

source§

fn default_version(num_extra_bytes: u16) -> Vec<LazItem>

source§

impl LasRGB for Point2

source§

fn red(&self) -> u16

source§

fn green(&self) -> u16

source§

fn blue(&self) -> u16

source§

fn set_red(&mut self, new_val: u16)

source§

fn set_green(&mut self, new_val: u16)

source§

fn set_blue(&mut self, new_val: u16)

source§

impl PartialEq for Point2

source§

fn eq(&self, other: &Point2) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Version1 for Point2

source§

fn version_1(num_extra_bytes: u16) -> Vec<LazItem>

source§

impl Version2 for Point2

source§

fn version_2(num_extra_bytes: u16) -> Vec<LazItem>

source§

impl Copy for Point2

source§

impl StructuralPartialEq for Point2

Auto Trait Implementations§

§

impl Freeze for Point2

§

impl RefUnwindSafe for Point2

§

impl Send for Point2

§

impl Sync for Point2

§

impl Unpin for Point2

§

impl UnwindSafe for Point2

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> LasPoint0 for T
where T: Point0Based,

source§

fn x(&self) -> i32

source§

fn y(&self) -> i32

source§

fn z(&self) -> i32

source§

fn intensity(&self) -> u16

source§

fn bit_fields(&self) -> u8

source§

fn number_of_returns_of_given_pulse(&self) -> u8

source§

fn scan_direction_flag(&self) -> bool

source§

fn edge_of_flight_line(&self) -> bool

source§

fn return_number(&self) -> u8

source§

fn classification(&self) -> u8

source§

fn scan_angle_rank(&self) -> i8

source§

fn user_data(&self) -> u8

source§

fn point_source_id(&self) -> u16

source§

fn set_x(&mut self, new_val: i32)

source§

fn set_y(&mut self, new_val: i32)

source§

fn set_z(&mut self, new_val: i32)

source§

fn set_intensity(&mut self, new_val: u16)

source§

fn set_bit_fields(&mut self, new_val: u8)

source§

fn set_classification(&mut self, new_val: u8)

source§

fn set_scan_angle_rank(&mut self, new_val: i8)

source§

fn set_user_data(&mut self, new_val: u8)

source§

fn set_point_source_id(&mut self, new_val: u16)

source§

impl<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

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>,

§

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.