[−][src]Struct rust_3d::PointCloud3Df32
PointCloud3Df32, a collection of positions within 3D space stored lossy as f32 vector for easier usage during rendering
Fields
data: Vec<f32>
Implementations
impl<P> PointCloud3Df32<P> where
P: IsBuildable3D,
[src]
P: IsBuildable3D,
pub fn new() -> PointCloud3Df32<P>
[src]
Creates a new, empty point cloud
pub fn with_capacity(n: usize) -> PointCloud3Df32<P>
[src]
Creates a new, empty point cloud with capacity for n points
Trait Implementations
impl<P: Clone> Clone for PointCloud3Df32<P> where
P: IsBuildable3D,
[src]
P: IsBuildable3D,
fn clone(&self) -> PointCloud3Df32<P>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<P: Debug> Debug for PointCloud3Df32<P> where
P: IsBuildable3D,
[src]
P: IsBuildable3D,
impl<P: Default> Default for PointCloud3Df32<P> where
P: IsBuildable3D,
[src]
P: IsBuildable3D,
fn default() -> PointCloud3Df32<P>
[src]
impl<P> From<Vec<f32>> for PointCloud3Df32<P> where
P: IsBuildable3D,
[src]
P: IsBuildable3D,
impl<P> HasBoundingBox3DMaybe for PointCloud3Df32<P> where
P: IsBuildable3D,
[src]
P: IsBuildable3D,
fn bounding_box_maybe(&self) -> Result<BoundingBox3D>
[src]
impl<P> Into<Vec<f32>> for PointCloud3Df32<P> where
P: IsBuildable3D,
[src]
P: IsBuildable3D,
impl<P> IsDataContainer<P> for PointCloud3Df32<P> where
P: IsBuildable3D,
[src]
P: IsBuildable3D,
fn reserve_d(&mut self, n: usize)
[src]
fn len_d(&self) -> usize
[src]
fn push_d(&mut self, p: P)
[src]
fn get_d(&self, index: usize) -> P
[src]
fn set_d(&mut self, index: usize, p: P)
[src]
impl<P> IsMovable3D for PointCloud3Df32<P> where
P: IsBuildable3D,
[src]
P: IsBuildable3D,
impl<P> IsPushable<P> for PointCloud3Df32<P> where
P: IsBuildable3D,
[src]
P: IsBuildable3D,
impl<P: PartialEq> PartialEq<PointCloud3Df32<P>> for PointCloud3Df32<P> where
P: IsBuildable3D,
[src]
P: IsBuildable3D,
fn eq(&self, other: &PointCloud3Df32<P>) -> bool
[src]
fn ne(&self, other: &PointCloud3Df32<P>) -> bool
[src]
impl<P: PartialOrd> PartialOrd<PointCloud3Df32<P>> for PointCloud3Df32<P> where
P: IsBuildable3D,
[src]
P: IsBuildable3D,
fn partial_cmp(&self, other: &PointCloud3Df32<P>) -> Option<Ordering>
[src]
fn lt(&self, other: &PointCloud3Df32<P>) -> bool
[src]
fn le(&self, other: &PointCloud3Df32<P>) -> bool
[src]
fn gt(&self, other: &PointCloud3Df32<P>) -> bool
[src]
fn ge(&self, other: &PointCloud3Df32<P>) -> bool
[src]
impl<P> StructuralPartialEq for PointCloud3Df32<P> where
P: IsBuildable3D,
[src]
P: IsBuildable3D,
Auto Trait Implementations
impl<P> RefUnwindSafe for PointCloud3Df32<P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<P> Send for PointCloud3Df32<P> where
P: Send,
P: Send,
impl<P> Sync for PointCloud3Df32<P> where
P: Sync,
P: Sync,
impl<P> Unpin for PointCloud3Df32<P> where
P: Unpin,
P: Unpin,
impl<P> UnwindSafe for PointCloud3Df32<P> where
P: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,