Enum las::point::ScanDirection
source · pub enum ScanDirection {
RightToLeft,
LeftToRight,
}
Expand description
The direction at which the scanner mirror was traveling at the time of pulse output.
Variants§
RightToLeft
The scan is moving from the right to the left.
LeftToRight
The scan is moving from the left to the right.
Trait Implementations§
source§impl Clone for ScanDirection
impl Clone for ScanDirection
source§fn clone(&self) -> ScanDirection
fn clone(&self) -> ScanDirection
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 ScanDirection
impl Debug for ScanDirection
source§impl Default for ScanDirection
impl Default for ScanDirection
source§fn default() -> ScanDirection
fn default() -> ScanDirection
Returns the “default value” for a type. Read more
source§impl PartialEq for ScanDirection
impl PartialEq for ScanDirection
source§fn eq(&self, other: &ScanDirection) -> bool
fn eq(&self, other: &ScanDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ScanDirection
impl StructuralPartialEq for ScanDirection
Auto Trait Implementations§
impl Freeze for ScanDirection
impl RefUnwindSafe for ScanDirection
impl Send for ScanDirection
impl Sync for ScanDirection
impl Unpin for ScanDirection
impl UnwindSafe for ScanDirection
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