pub struct ConstructionResource<'m, 's> { /* private fields */ }Expand description
Borrowed projection of a concrete IfcConstructionResource occurrence.
Implementations§
Source§impl<'m, 's> ConstructionResource<'m, 's>
impl<'m, 's> ConstructionResource<'m, 's>
Sourcepub fn kind(&self) -> ResourceKind
pub fn kind(&self) -> ResourceKind
Which concrete IfcConstructionResource subtype this occurrence is.
Sourcepub fn name(&self) -> ResourceResult<Option<&'m str>>
pub fn name(&self) -> ResourceResult<Option<&'m str>>
The Name attribute, when authored.
Sourcepub fn identification(&self) -> ResourceResult<Option<&'m str>>
pub fn identification(&self) -> ResourceResult<Option<&'m str>>
The Identification attribute, when authored.
Sourcepub fn long_description(&self) -> ResourceResult<Option<&'m str>>
pub fn long_description(&self) -> ResourceResult<Option<&'m str>>
The LongDescription attribute, when authored.
Sourcepub fn predefined_type(&self) -> ResourceResult<Option<&'m str>>
pub fn predefined_type(&self) -> ResourceResult<Option<&'m str>>
The PredefinedType enumeration, when authored.
A USERDEFINED value requires ObjectType to be set; that
constraint is enforced here rather than left to the caller.
Sourcepub fn usage(&self) -> ResourceResult<Option<ResourceTime<'m, 's>>>
pub fn usage(&self) -> ResourceResult<Option<ResourceTime<'m, 's>>>
The Usage attribute: authored IfcResourceTime, when present.
Sourcepub fn base_costs(&self) -> ResourceResult<Vec<EntityId>>
pub fn base_costs(&self) -> ResourceResult<Vec<EntityId>>
The BaseCosts attribute: applied-value references, when authored.
Sourcepub fn base_quantity(&self) -> ResourceResult<Option<EntityId>>
pub fn base_quantity(&self) -> ResourceResult<Option<EntityId>>
The BaseQuantity attribute: the physical-quantity reference, when
authored.
Trait Implementations§
Source§impl<'m, 's> Clone for ConstructionResource<'m, 's>
impl<'m, 's> Clone for ConstructionResource<'m, 's>
impl<'m, 's> Copy for ConstructionResource<'m, 's>
Auto Trait Implementations§
impl<'m, 's> Freeze for ConstructionResource<'m, 's>
impl<'m, 's> RefUnwindSafe for ConstructionResource<'m, 's>
impl<'m, 's> Send for ConstructionResource<'m, 's>
impl<'m, 's> Sync for ConstructionResource<'m, 's>
impl<'m, 's> Unpin for ConstructionResource<'m, 's>
impl<'m, 's> UnsafeUnpin for ConstructionResource<'m, 's>
impl<'m, 's> UnwindSafe for ConstructionResource<'m, 's>
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