#[non_exhaustive]pub struct BodyItem {
pub item: EntityId,
pub type_name: String,
pub mapped_by: Vec<EntityId>,
pub kind: BodyKind,
pub swept: Option<SweptSolid>,
}Expand description
One geometric representation item of a body.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.item: EntityIdThe geometric item itself, never an IfcMappedItem.
type_name: StringIts concrete IFC type in upper case.
mapped_by: Vec<EntityId>The IfcMappedItems this item was reached through, outermost first.
Empty when the item is authored directly in the body.
kind: BodyKindHow the item models its shape.
swept: Option<SweptSolid>Profile and path, for the swept-area families
(BodyKind::is_swept_area); None for every other kind.
Trait Implementations§
impl StructuralPartialEq for BodyItem
Auto Trait Implementations§
impl Freeze for BodyItem
impl RefUnwindSafe for BodyItem
impl Send for BodyItem
impl Sync for BodyItem
impl Unpin for BodyItem
impl UnsafeUnpin for BodyItem
impl UnwindSafe for BodyItem
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