Struct libreda_lefdef::def_ast::DEFPropertyDefinition
source · pub struct DEFPropertyDefinition {
pub object_type: DEFPropertyObjectType,
pub property_type: PropertyType,
pub range: Option<(PropertyValue, PropertyValue)>,
pub default_value: Option<PropertyValue>,
}Expand description
Property definition used in DEF.
Fields§
§object_type: DEFPropertyObjectTypeDEF object type associated with this property.
property_type: PropertyTypeData type of the property value.
range: Option<(PropertyValue, PropertyValue)>Optional min and max values.
default_value: Option<PropertyValue>Default value of such a property.
Trait Implementations§
source§impl Clone for DEFPropertyDefinition
impl Clone for DEFPropertyDefinition
source§fn clone(&self) -> DEFPropertyDefinition
fn clone(&self) -> DEFPropertyDefinition
Returns a copy 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 more