pub struct PropertySetTemplate {
pub id: EntityId,
pub name: Option<Arc<str>>,
pub description: Option<Arc<str>>,
pub template_type: Option<Arc<str>>,
pub applicable_entity: Option<Arc<str>>,
pub properties: Vec<PropertyTemplate>,
}Expand description
An IfcPropertySetTemplate with its property templates.
Fields§
§id: EntityIdThe entity.
name: Option<Arc<str>>Name, required by ExistsName.
description: Option<Arc<str>>Description.
template_type: Option<Arc<str>>TemplateType, e.g. PSET_TYPEDRIVENOVERRIDE.
applicable_entity: Option<Arc<str>>ApplicableEntity: which IFC entity the set applies to.
A free-text identifier such as IfcWall, not a validated reference.
properties: Vec<PropertyTemplate>Property templates, in file order, simple and complex, complex ones with their nested templates.
Implementations§
Source§impl PropertySetTemplate
impl PropertySetTemplate
Sourcepub fn property(&self, name: &str) -> Option<&PropertyTemplate>
pub fn property(&self, name: &str) -> Option<&PropertyTemplate>
Look up a property template by name.
Trait Implementations§
Source§impl Clone for PropertySetTemplate
impl Clone for PropertySetTemplate
Source§impl Debug for PropertySetTemplate
impl Debug for PropertySetTemplate
Source§impl PartialEq for PropertySetTemplate
impl PartialEq for PropertySetTemplate
impl StructuralPartialEq for PropertySetTemplate
Auto Trait Implementations§
impl Freeze for PropertySetTemplate
impl RefUnwindSafe for PropertySetTemplate
impl Send for PropertySetTemplate
impl Sync for PropertySetTemplate
impl Unpin for PropertySetTemplate
impl UnsafeUnpin for PropertySetTemplate
impl UnwindSafe for PropertySetTemplate
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