pub struct ProductShape<'m> { /* private fields */ }Expand description
One IfcProductRepresentation: the ordered representations of a product.
Implementations§
Source§impl<'m> ProductShape<'m>
impl<'m> ProductShape<'m>
Sourcepub fn new(id: EntityId, entity: &'m Entity) -> Self
pub fn new(id: EntityId, entity: &'m Entity) -> Self
Wrap an entity assumed to be an IfcProductRepresentation subtype.
Sourcepub fn representations(&self) -> GeometryResult<Vec<EntityId>>
pub fn representations(&self) -> GeometryResult<Vec<EntityId>>
Representations in authored order.
Trait Implementations§
Source§impl<'m> Clone for ProductShape<'m>
impl<'m> Clone for ProductShape<'m>
impl<'m> Copy for ProductShape<'m>
Auto Trait Implementations§
impl<'m> Freeze for ProductShape<'m>
impl<'m> RefUnwindSafe for ProductShape<'m>
impl<'m> Send for ProductShape<'m>
impl<'m> Sync for ProductShape<'m>
impl<'m> Unpin for ProductShape<'m>
impl<'m> UnsafeUnpin for ProductShape<'m>
impl<'m> UnwindSafe for ProductShape<'m>
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