pub enum PropertyDefinitionRef {
ProductDefinitionShape(ProductDefinitionShapeId),
PropertyDefinition(PropertyDefinitionId),
Complex(ComplexUnitId),
}Variants§
ProductDefinitionShape(ProductDefinitionShapeId)
PropertyDefinition(PropertyDefinitionId)
Complex(ComplexUnitId)
Implementations§
Source§impl PropertyDefinitionRef
impl PropertyDefinitionRef
pub fn resolve<'m>(&self, model: &'m StepModel) -> PropertyDefinitionRefView<'m>
pub fn entity_key(&self) -> EntityKey
Trait Implementations§
Source§impl Clone for PropertyDefinitionRef
impl Clone for PropertyDefinitionRef
Source§fn clone(&self) -> PropertyDefinitionRef
fn clone(&self) -> PropertyDefinitionRef
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 moreSource§impl Debug for PropertyDefinitionRef
impl Debug for PropertyDefinitionRef
Source§impl PartialEq for PropertyDefinitionRef
impl PartialEq for PropertyDefinitionRef
Source§fn eq(&self, other: &PropertyDefinitionRef) -> bool
fn eq(&self, other: &PropertyDefinitionRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PropertyDefinitionRef
Auto Trait Implementations§
impl Freeze for PropertyDefinitionRef
impl RefUnwindSafe for PropertyDefinitionRef
impl Send for PropertyDefinitionRef
impl Sync for PropertyDefinitionRef
impl Unpin for PropertyDefinitionRef
impl UnsafeUnpin for PropertyDefinitionRef
impl UnwindSafe for PropertyDefinitionRef
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