pub struct PointCloud3Df32<P>where
P: IsBuildable3D,{
pub data: Vec<f32>,
/* private fields */
}
Expand description
PointCloud3Df32, a collection of positions within 3D space stored lossy as f32 vector for easier usage during rendering
Fields§
§data: Vec<f32>
Implementations§
Source§impl<P> PointCloud3Df32<P>where
P: IsBuildable3D,
impl<P> PointCloud3Df32<P>where
P: IsBuildable3D,
Sourcepub fn new() -> PointCloud3Df32<P>
pub fn new() -> PointCloud3Df32<P>
Creates a new, empty point cloud
Sourcepub fn with_capacity(n: usize) -> PointCloud3Df32<P>
pub fn with_capacity(n: usize) -> PointCloud3Df32<P>
Creates a new, empty point cloud with capacity for n points
Trait Implementations§
Source§impl<P> Clone for PointCloud3Df32<P>where
P: IsBuildable3D + Clone,
impl<P> Clone for PointCloud3Df32<P>where
P: IsBuildable3D + Clone,
Source§fn clone(&self) -> PointCloud3Df32<P>
fn clone(&self) -> PointCloud3Df32<P>
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<P> Debug for PointCloud3Df32<P>where
P: IsBuildable3D + Debug,
impl<P> Debug for PointCloud3Df32<P>where
P: IsBuildable3D + Debug,
Source§impl<P> Default for PointCloud3Df32<P>where
P: IsBuildable3D + Default,
impl<P> Default for PointCloud3Df32<P>where
P: IsBuildable3D + Default,
Source§fn default() -> PointCloud3Df32<P>
fn default() -> PointCloud3Df32<P>
Returns the “default value” for a type. Read more
Source§impl<P> From<Vec<f32>> for PointCloud3Df32<P>where
P: IsBuildable3D,
impl<P> From<Vec<f32>> for PointCloud3Df32<P>where
P: IsBuildable3D,
Source§impl<P> HasBoundingBox3DMaybe for PointCloud3Df32<P>where
P: IsBuildable3D,
impl<P> HasBoundingBox3DMaybe for PointCloud3Df32<P>where
P: IsBuildable3D,
Source§fn bounding_box_maybe(&self) -> Result<BoundingBox3D>
fn bounding_box_maybe(&self) -> Result<BoundingBox3D>
Should return the bounding box if it can be calculated
Source§impl<P> Into<Vec<f32>> for PointCloud3Df32<P>where
P: IsBuildable3D,
impl<P> Into<Vec<f32>> for PointCloud3Df32<P>where
P: IsBuildable3D,
Source§impl<P> IsDataContainer<P> for PointCloud3Df32<P>where
P: IsBuildable3D,
impl<P> IsDataContainer<P> for PointCloud3Df32<P>where
P: IsBuildable3D,
Source§impl<P> IsMovable3D for PointCloud3Df32<P>where
P: IsBuildable3D,
impl<P> IsMovable3D for PointCloud3Df32<P>where
P: IsBuildable3D,
Source§impl<P> IsPushable<P> for PointCloud3Df32<P>where
P: IsBuildable3D,
impl<P> IsPushable<P> for PointCloud3Df32<P>where
P: IsBuildable3D,
Source§impl<P> PartialEq for PointCloud3Df32<P>where
P: IsBuildable3D + PartialEq,
impl<P> PartialEq for PointCloud3Df32<P>where
P: IsBuildable3D + PartialEq,
Source§impl<P> PartialOrd for PointCloud3Df32<P>where
P: IsBuildable3D + PartialOrd,
impl<P> PartialOrd for PointCloud3Df32<P>where
P: IsBuildable3D + PartialOrd,
impl<P> StructuralPartialEq for PointCloud3Df32<P>where
P: IsBuildable3D,
Auto Trait Implementations§
impl<P> Freeze for PointCloud3Df32<P>
impl<P> RefUnwindSafe for PointCloud3Df32<P>where
P: RefUnwindSafe,
impl<P> Send for PointCloud3Df32<P>where
P: Send,
impl<P> Sync for PointCloud3Df32<P>where
P: Sync,
impl<P> Unpin for PointCloud3Df32<P>where
P: Unpin,
impl<P> UnwindSafe for PointCloud3Df32<P>where
P: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more