[−]Struct plexus::encoding::ply::PropertyDefinition
Defines a property of an element.
Fields
name: String
Unique name of property.
The name should be unique for each property of the same element.
data_type: PropertyType
Data type of the property: You can have simple scalars (ints, floats, etc.) or lists of scalars. In the case of lists you need to decide in which type you want to store the list length and what type to use for the list elemetns.
Methods
impl PropertyDef
pub fn new(name: String, data_type: PropertyType) -> PropertyDef
Creates a new property definition.
Trait Implementations
impl PartialEq<PropertyDef> for PropertyDef
fn eq(&self, other: &PropertyDef) -> bool
fn ne(&self, other: &PropertyDef) -> bool
impl Eq for PropertyDef
impl Clone for PropertyDef
fn clone(&self) -> PropertyDef
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Key for PropertyDef
impl Debug for PropertyDef
impl StructuralPartialEq for PropertyDef
impl StructuralEq for PropertyDef
Auto Trait Implementations
impl Send for PropertyDef
impl Sync for PropertyDef
impl Unpin for PropertyDef
impl UnwindSafe for PropertyDef
impl RefUnwindSafe for PropertyDef
Blanket Implementations
impl<T> FromGeometry<T> for T
[src]
fn from_geometry(T) -> T
[src]
impl<T, U> IntoGeometry<U> for T where
U: FromGeometry<T>,
[src]
U: FromGeometry<T>,
fn into_geometry(Self) -> U
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,