pub struct PointCloudSoa<const N: usize> {
pub tov: [CuTime; N],
pub x: [Distance; N],
pub y: [Distance; N],
pub z: [Distance; N],
pub i: [Reflectivity; N],
pub return_order: [u8; N],
/* private fields */
}Fields§
§tov: [CuTime; N]§x: [Distance; N]§y: [Distance; N]§z: [Distance; N]§i: [Reflectivity; N]§return_order: [u8; N]Implementations§
Source§impl<const N: usize> PointCloudSoa<N>
impl<const N: usize> PointCloudSoa<N>
pub fn new(default: PointCloud) -> Self
pub fn len(&self) -> usize
pub fn push(&mut self, value: PointCloud)
pub fn pop(&mut self) -> Option<PointCloud>
pub fn set(&mut self, index: usize, value: PointCloud)
pub fn get(&self, index: usize) -> PointCloud
pub fn apply<F>(&mut self, f: F)
pub fn iter(&self) -> PointCloudIterator<'_, N> ⓘ
pub fn tov(&self) -> &[CuTime]
pub fn tov_mut(&mut self) -> &mut [CuTime]
pub fn tov_range(&self, range: Range<usize>) -> &[CuTime]
pub fn tov_range_mut(&mut self, range: Range<usize>) -> &mut [CuTime]
pub fn x(&self) -> &[Distance]
pub fn x_mut(&mut self) -> &mut [Distance]
pub fn x_range(&self, range: Range<usize>) -> &[Distance]
pub fn x_range_mut(&mut self, range: Range<usize>) -> &mut [Distance]
pub fn y(&self) -> &[Distance]
pub fn y_mut(&mut self) -> &mut [Distance]
pub fn y_range(&self, range: Range<usize>) -> &[Distance]
pub fn y_range_mut(&mut self, range: Range<usize>) -> &mut [Distance]
pub fn z(&self) -> &[Distance]
pub fn z_mut(&mut self) -> &mut [Distance]
pub fn z_range(&self, range: Range<usize>) -> &[Distance]
pub fn z_range_mut(&mut self, range: Range<usize>) -> &mut [Distance]
pub fn i(&self) -> &[Reflectivity]
pub fn i_mut(&mut self) -> &mut [Reflectivity]
pub fn i_range(&self, range: Range<usize>) -> &[Reflectivity]
pub fn i_range_mut(&mut self, range: Range<usize>) -> &mut [Reflectivity]
pub fn return_order(&self) -> &[u8] ⓘ
pub fn return_order_mut(&mut self) -> &mut [u8] ⓘ
pub fn return_order_range(&self, range: Range<usize>) -> &[u8] ⓘ
pub fn return_order_range_mut(&mut self, range: Range<usize>) -> &mut [u8] ⓘ
Trait Implementations§
Source§impl<const N: usize> Clone for PointCloudSoa<N>
impl<const N: usize> Clone for PointCloudSoa<N>
Source§impl<const N: usize> Debug for PointCloudSoa<N>
impl<const N: usize> Debug for PointCloudSoa<N>
Source§impl<const N: usize> Decode for PointCloudSoa<N>
impl<const N: usize> Decode for PointCloudSoa<N>
Source§impl<const N: usize> Default for PointCloudSoa<N>
impl<const N: usize> Default for PointCloudSoa<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for PointCloudSoa<N>
impl<const N: usize> RefUnwindSafe for PointCloudSoa<N>
impl<const N: usize> Send for PointCloudSoa<N>
impl<const N: usize> Sync for PointCloudSoa<N>
impl<const N: usize> Unpin for PointCloudSoa<N>
impl<const N: usize> UnwindSafe for PointCloudSoa<N>
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