pub struct PartialScan {
pub frequency: f32,
pub start_angle: f32,
pub end_angle: f32,
pub points: [Option<Point>; 8],
}Expand description
A single partial scan containing up to NUMBER_OF_POINTS_PER_MEASUREMENT valid points.
Represents the decoded and filtered data from one raw LiDAR packet. Invalid points, zero-quality returns, and flagged measurements are represented as None.
Fields§
§frequency: f32Rotation frequency in Hz.
start_angle: f32Start angle of the packet in degrees.
end_angle: f32End angle of the packet in degrees.
points: [Option<Point>; 8]Array of NUMBER_OF_POINTS_PER_MEASUREMENT points within this partial scan.
Trait Implementations§
Source§impl Clone for PartialScan
impl Clone for PartialScan
Source§fn clone(&self) -> PartialScan
fn clone(&self) -> PartialScan
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 moreimpl Copy for PartialScan
Source§impl Debug for PartialScan
impl Debug for PartialScan
Source§impl Format for PartialScan
impl Format for PartialScan
Auto Trait Implementations§
impl Freeze for PartialScan
impl RefUnwindSafe for PartialScan
impl Send for PartialScan
impl Sync for PartialScan
impl Unpin for PartialScan
impl UnsafeUnpin for PartialScan
impl UnwindSafe for PartialScan
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