pub struct AoSoAAttributeChunk { /* private fields */ }Expand description
Owned interleaved positions and optional capability attributes for one chunk.
Implementations§
Source§impl AoSoAAttributeChunk
impl AoSoAAttributeChunk
Sourcepub fn pack_xyz_intensity(
chunk: &SpatialTensorChunk,
cloud: &PointCloud,
) -> SpatialResult<Self>
pub fn pack_xyz_intensity( chunk: &SpatialTensorChunk, cloud: &PointCloud, ) -> SpatialResult<Self>
Packs [x, y, z, intensity] records using HasIntensity.
Sourcepub fn pack_xyz_normals(
chunk: &SpatialTensorChunk,
cloud: &PointCloud,
) -> SpatialResult<Self>
pub fn pack_xyz_normals( chunk: &SpatialTensorChunk, cloud: &PointCloud, ) -> SpatialResult<Self>
Packs [x, y, z, nx, ny, nz] records using HasNormals3.
Sourcepub fn pack_xyz_intensity_normals(
chunk: &SpatialTensorChunk,
cloud: &PointCloud,
) -> SpatialResult<Self>
pub fn pack_xyz_intensity_normals( chunk: &SpatialTensorChunk, cloud: &PointCloud, ) -> SpatialResult<Self>
Packs [x, y, z, intensity, nx, ny, nz] capability records.
Sourcepub const fn layout(&self) -> AoSoAAttributeLayout
pub const fn layout(&self) -> AoSoAAttributeLayout
Returns the explicit stride and field-offset metadata.
Trait Implementations§
Source§impl Clone for AoSoAAttributeChunk
impl Clone for AoSoAAttributeChunk
Source§fn clone(&self) -> AoSoAAttributeChunk
fn clone(&self) -> AoSoAAttributeChunk
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 moreSource§impl Debug for AoSoAAttributeChunk
impl Debug for AoSoAAttributeChunk
Source§impl PartialEq for AoSoAAttributeChunk
impl PartialEq for AoSoAAttributeChunk
Source§fn eq(&self, other: &AoSoAAttributeChunk) -> bool
fn eq(&self, other: &AoSoAAttributeChunk) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AoSoAAttributeChunk
Auto Trait Implementations§
impl Freeze for AoSoAAttributeChunk
impl RefUnwindSafe for AoSoAAttributeChunk
impl Send for AoSoAAttributeChunk
impl Sync for AoSoAAttributeChunk
impl Unpin for AoSoAAttributeChunk
impl UnsafeUnpin for AoSoAAttributeChunk
impl UnwindSafe for AoSoAAttributeChunk
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