pub struct EpdDataTemplate { /* private fields */ }Expand description
An ISO 22057 EPD template composed from the ISO 23387 vocabulary.
ISO 22057 specializes BIM data-template concepts; it does not own a second
property, unit, quantity-kind, or object-type model. Keeping the underlying
[openbim_dt::DataTemplate] intact gives EPD and LOIN the same type identity
without making either standard depend on the other.
This type is format-neutral. It does not imply ILCD+EPD XML, provider API, or Annex A conformance.
Implementations§
Source§impl EpdDataTemplate
impl EpdDataTemplate
Sourcepub const fn new(data_template: DataTemplate) -> Self
pub const fn new(data_template: DataTemplate) -> Self
Binds an ISO 23387 data template to the current ISO 22057 edition.
Sourcepub const fn standard(&self) -> StandardEdition
pub const fn standard(&self) -> StandardEdition
The ISO 22057 edition governing this EPD template.
Sourcepub const fn data_template(&self) -> &DataTemplate
pub const fn data_template(&self) -> &DataTemplate
The shared ISO 23387 data-template contract.
Sourcepub fn into_data_template(self) -> DataTemplate
pub fn into_data_template(self) -> DataTemplate
Consumes the EPD binding and returns the shared ISO 23387 template.
Trait Implementations§
Source§impl Clone for EpdDataTemplate
impl Clone for EpdDataTemplate
Source§fn clone(&self) -> EpdDataTemplate
fn clone(&self) -> EpdDataTemplate
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 moreSource§impl Debug for EpdDataTemplate
impl Debug for EpdDataTemplate
Source§impl PartialEq for EpdDataTemplate
impl PartialEq for EpdDataTemplate
impl Eq for EpdDataTemplate
impl StructuralPartialEq for EpdDataTemplate
Auto Trait Implementations§
impl Freeze for EpdDataTemplate
impl RefUnwindSafe for EpdDataTemplate
impl Send for EpdDataTemplate
impl Sync for EpdDataTemplate
impl Unpin for EpdDataTemplate
impl UnwindSafe for EpdDataTemplate
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