Trait pointcloud::MetaSet [−][src]
pub trait MetaSet { type Metadata: ?Sized + Serialize; type MetaSummary: Summary<Label = Self::Metadata>; fn metadata(&self, pn: usize) -> PointCloudResult<Option<&Self::Metadata>>; fn metasummary(
&self,
pns: &[usize]
) -> PointCloudResult<SummaryCounter<Self::MetaSummary>>; }
Allows for expensive metadata, this is identical to the label trait, but enables slower update
Associated Types
type Metadata: ?Sized + Serialize
[src]
Underlying metadata
type MetaSummary: Summary<Label = Self::Metadata>
[src]
A summary of the underlying metadata
Required methods
fn metadata(&self, pn: usize) -> PointCloudResult<Option<&Self::Metadata>>
[src]
Expensive metadata object for the sample
fn metasummary(
&self,
pns: &[usize]
) -> PointCloudResult<SummaryCounter<Self::MetaSummary>>
[src]
&self,
pns: &[usize]
) -> PointCloudResult<SummaryCounter<Self::MetaSummary>>
Expensive metadata summary over the samples