[][src]Trait pointcloud::Summary

pub trait Summary: Debug + Default + Send + Sync + 'static {
    type Label: ?Sized;
    pub fn add(&mut self, v: &Self::Label);
pub fn combine(&mut self, other: &Self);
pub 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[src]

Underlying type.

Loading content...

Required methods

pub fn add(&mut self, v: &Self::Label)[src]

Adding a single value to the summary.

pub fn combine(&mut self, other: &Self)[src]

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.

pub fn count(&self) -> usize[src]

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...