[][src]Trait pointcloud::Summary

pub trait Summary: Debug + Default + Send + Sync + 'static {
    type Label: ?Sized;
    fn add(&mut self, v: &Self::Label);
fn combine(&mut self, other: &Self);
fn count(&self) -> usize; }

A summary for labels and metadata. You can make this an empty zero sized type for when you don't need it.

Associated Types

type Label: ?Sized

Underlying type.

Loading content...

Required methods

fn add(&mut self, v: &Self::Label)

Adding a single value to the summary.

fn combine(&mut self, other: &Self)

Merging several summaries of your data source together. This results in a summary of underlying column over the union of the indexes used to create the input summaries.

fn count(&self) -> usize

The number of elements this summary covers

Loading content...

Implementors

impl Summary for CategorySummary[src]

type Label = i64

impl Summary for FloatSummary[src]

type Label = f64

impl Summary for IntSummary[src]

type Label = i64

impl Summary for StringSummary[src]

type Label = String

impl Summary for VecSummary[src]

type Label = [f32]

Loading content...