pub struct PointField {
pub name: String,
pub semantic: FieldSemantic,
pub dtype: DType,
pub components: usize,
}Expand description
One column in a point cloud schema.
Fields§
§name: StringField name.
semantic: FieldSemanticSemantic meaning.
dtype: DTypeScalar dtype.
components: usizeNumber of scalar components.
Implementations§
Source§impl PointField
impl PointField
Sourcepub fn scalar(
name: impl Into<String>,
semantic: FieldSemantic,
dtype: DType,
) -> PointField
pub fn scalar( name: impl Into<String>, semantic: FieldSemantic, dtype: DType, ) -> PointField
Creates a scalar field.
Trait Implementations§
Source§impl Clone for PointField
impl Clone for PointField
Source§fn clone(&self) -> PointField
fn clone(&self) -> PointField
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PointField
impl Debug for PointField
Source§impl<'de> Deserialize<'de> for PointField
impl<'de> Deserialize<'de> for PointField
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PointField, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PointField, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PointField
impl PartialEq for PointField
Source§impl Serialize for PointField
impl Serialize for PointField
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PointField
impl StructuralPartialEq for PointField
Auto Trait Implementations§
impl Freeze for PointField
impl RefUnwindSafe for PointField
impl Send for PointField
impl Sync for PointField
impl Unpin for PointField
impl UnsafeUnpin for PointField
impl UnwindSafe for PointField
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more