pub struct Property { /* private fields */ }Expand description
ISO 23387 PropertyType.
Implementations§
Source§impl Property
impl Property
pub const fn new(concept: Concept, data_type: DataType) -> Self
pub const fn concept(&self) -> &Concept
pub const fn data_type(&self) -> &DataType
pub fn symbols(&self) -> &[String]
pub const fn dimension_ref(&self) -> Option<&Reference>
pub fn unit_refs(&self) -> &[Reference]
pub fn quantity_kind_refs(&self) -> &[Reference]
pub fn dependency_refs(&self) -> &[Reference]
pub const fn specialization_ref(&self) -> Option<&Reference>
pub fn add_symbol(&mut self, value: impl Into<String>)
pub fn set_dimension_ref(&mut self, value: Option<Reference>)
pub fn add_unit_ref(&mut self, value: Reference)
pub fn add_quantity_kind_ref(&mut self, value: Reference)
pub fn add_dependency_ref(&mut self, value: Reference)
pub fn set_specialization_ref(&mut self, value: Option<Reference>)
Trait Implementations§
impl Eq for Property
impl StructuralPartialEq for Property
Auto Trait Implementations§
impl Freeze for Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
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