#[non_exhaustive]pub enum ResourceKind {
Labor,
Equipment,
Crew,
Material,
Product,
Subcontract,
}Expand description
Concrete IfcConstructionResource specialization, one of the six
resource-occurrence entities this crate projects (all six exist in
IFC2X3, IFC4 and IFC4X3).
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.
Labor
IfcLaborResource: a person or crew role.
Equipment
IfcConstructionEquipmentResource: machinery or tooling.
Crew
IfcCrewResource: a composed group of resources.
Material
IfcConstructionMaterialResource: a consumed material.
Product
IfcConstructionProductResource: a resource realized as a product.
Subcontract
IfcSubContractResource: work delegated to a subcontractor.
Trait Implementations§
Source§impl Clone for ResourceKind
impl Clone for ResourceKind
Source§fn clone(&self) -> ResourceKind
fn clone(&self) -> ResourceKind
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 ResourceKind
Source§impl Debug for ResourceKind
impl Debug for ResourceKind
impl Eq for ResourceKind
Source§impl PartialEq for ResourceKind
impl PartialEq for ResourceKind
impl StructuralPartialEq for ResourceKind
Auto Trait Implementations§
impl Freeze for ResourceKind
impl RefUnwindSafe for ResourceKind
impl Send for ResourceKind
impl Sync for ResourceKind
impl Unpin for ResourceKind
impl UnsafeUnpin for ResourceKind
impl UnwindSafe for ResourceKind
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