pub struct ProductPlacement {
pub id: u64,
pub global_id: Option<String>,
pub type_name: String,
pub transform: Option<[f64; 16]>,
pub representation: Option<SelectedRepresentation>,
pub refusal: Option<GeometryRefusal>,
}Expand description
One product’s world placement and selected Body representation.
Fields§
§id: u64The product’s entity id.
global_id: Option<String>Its GlobalId.
type_name: StringIts entity type, upper-case: IFCWALL, …
transform: Option<[f64; 16]>The world placement, 4x4 column-major, metres; None when refused.
representation: Option<SelectedRepresentation>The Body representation; None when the product has no solid
representation (an axis only) or its selection was refused.
refusal: Option<GeometryRefusal>Why the placement or the selection was refused, the placement’s reason first.
Trait Implementations§
Source§impl Clone for ProductPlacement
impl Clone for ProductPlacement
Source§fn clone(&self) -> ProductPlacement
fn clone(&self) -> ProductPlacement
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 ProductPlacement
impl Debug for ProductPlacement
Source§impl PartialEq for ProductPlacement
impl PartialEq for ProductPlacement
impl StructuralPartialEq for ProductPlacement
Auto Trait Implementations§
impl Freeze for ProductPlacement
impl RefUnwindSafe for ProductPlacement
impl Send for ProductPlacement
impl Sync for ProductPlacement
impl Unpin for ProductPlacement
impl UnsafeUnpin for ProductPlacement
impl UnwindSafe for ProductPlacement
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