[][src]Struct pointcloud::SimpleLabeledCloud

pub struct SimpleLabeledCloud<D, L> { /* fields omitted */ }

Simply shoves together a point cloud and a label set, for a modular label system

Implementations

impl<D, L: LabelSet> SimpleLabeledCloud<D, L>[src]

pub fn new(data: D, labels: L) -> Self[src]

Creates a new one

impl<M: Metric<[f32]>> SimpleLabeledCloud<DataRam<M>, SmallIntLabels>[src]

pub fn new_simple(
    data: Vec<f32>,
    dim: usize,
    labels: Vec<i64>
) -> DefaultLabeledCloud<M>
[src]

Simple way of gluing together the most common data source

Trait Implementations

impl<D: Debug, L: Debug> Debug for SimpleLabeledCloud<D, L>[src]

impl<D, L: LabelSet> LabeledCloud for SimpleLabeledCloud<D, L>[src]

type Label = L::Label

Underlying type.

type LabelSummary = L::LabelSummary

Summary of a set of labels

impl<D: PointCloud, L: LabelSet> PointCloud for SimpleLabeledCloud<D, L>[src]

type Metric = D::Metric

Underlying metric this point cloud uses

type Point = D::Point

The derefrenced, raw point. Think f32

type PointRef = D::PointRef

A reference to a point. Think &'a f32 Read more

Auto Trait Implementations

impl<D, L> RefUnwindSafe for SimpleLabeledCloud<D, L> where
    D: RefUnwindSafe,
    L: RefUnwindSafe
[src]

impl<D, L> Send for SimpleLabeledCloud<D, L> where
    D: Send,
    L: Send
[src]

impl<D, L> Sync for SimpleLabeledCloud<D, L> where
    D: Sync,
    L: Sync
[src]

impl<D, L> Unpin for SimpleLabeledCloud<D, L> where
    D: Unpin,
    L: Unpin
[src]

impl<D, L> UnwindSafe for SimpleLabeledCloud<D, L> where
    D: UnwindSafe,
    L: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> FromCast<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,