[−][src]Struct pointcloud::labels::MetadataList
This is a pair of IndexMap
s. One that stores the name to index, the second that stores the
Methods
impl MetadataList
[src]
pub fn get(&self, i: usize) -> Result<Metadata, PointCloudError>
[src]
Grabs the correct value from each columnar data list and adds them to an index map, then returns it to the user. Errors out if the data was inaccessible
pub fn get_set(
&self,
indexes: &[usize]
) -> Result<MetadataList, PointCloudError>
[src]
&self,
indexes: &[usize]
) -> Result<MetadataList, PointCloudError>
Grabs the metadata for all elements of your subset and returns a smaller MetadataList. Errors out if the data was inaccessible
pub fn get_summary(
&self,
indexes: &[usize]
) -> Result<MetaSummary, PointCloudError>
[src]
&self,
indexes: &[usize]
) -> Result<MetaSummary, PointCloudError>
Grabs the metadata for all elements of your subset and returns a summary of the underlying data. Errors out if the data was inaccessible
pub fn push(
&mut self,
name: Option<PointName>,
label: Metadata
) -> Result<(), PointCloudError>
[src]
&mut self,
name: Option<PointName>,
label: Metadata
) -> Result<(), PointCloudError>
Appends a the values contained in a metadata list to our metadata. Errors out if you are missing a key that the map has.
pub fn scheme(&self) -> Result<LabelScheme, PointCloudError>
[src]
Outputs the scheme of the metadata. This is useful for creating new metadata object off of other data.
pub fn keys(&self) -> Vec<String>
[src]
pub fn len(&self) -> usize
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MetadataList
impl Send for MetadataList
impl Sync for MetadataList
impl Unpin for MetadataList
impl UnwindSafe for MetadataList
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, U> Cast<U> for T where
U: FromCast<T>,
[src]
U: FromCast<T>,
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]
U: From<T>,
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>,