Returns the number of entries in the data set
(&self)
| 1422 | impl<'a, R: Real> AttributeData<'a, R> { |
| 1423 | /// Returns the number of entries in the data set |
| 1424 | fn len(&self) -> usize { |
| 1425 | match self { |
| 1426 | AttributeData::ScalarU64(v) => v.len(), |
| 1427 | AttributeData::ScalarReal(v) => v.len(), |
| 1428 | AttributeData::Vector3Real(v) => v.len(), |
| 1429 | } |
| 1430 | } |
| 1431 | } |
| 1432 | |
| 1433 | impl<R: Real, V: Into<Vec<u64>>> From<V> for OwnedAttributeData<R> { |
no outgoing calls
no test coverage detected