#[non_exhaustive]pub enum PropertyKind {
Validation,
UserDefined,
Other,
}Expand description
The kind of a property.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Validation
A validation property: geometric (volume, area, centroid, …) or of
attributes (how many user attributes of each type), named
geometric validation property or attribute validation property,
with spaces or underscores.
UserDefined
A user-defined attribute: associated with a general_property, or
described as user defined attribute. Serialized as user, the
name stepq props --kind uses.
Other
Anything else.
Trait Implementations§
Source§impl Clone for PropertyKind
impl Clone for PropertyKind
Source§fn clone(&self) -> PropertyKind
fn clone(&self) -> PropertyKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PropertyKind
Source§impl Debug for PropertyKind
impl Debug for PropertyKind
impl Eq for PropertyKind
Source§impl PartialEq for PropertyKind
impl PartialEq for PropertyKind
Source§impl Serialize for PropertyKind
Available on crate feature serde only.
impl Serialize for PropertyKind
Available on crate feature
serde only.impl StructuralPartialEq for PropertyKind
Auto Trait Implementations§
impl Freeze for PropertyKind
impl RefUnwindSafe for PropertyKind
impl Send for PropertyKind
impl Sync for PropertyKind
impl Unpin for PropertyKind
impl UnsafeUnpin for PropertyKind
impl UnwindSafe for PropertyKind
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