#[non_exhaustive]pub struct Subtraction {
pub opening: EntityId,
pub relation: EntityId,
pub body: NodeId,
pub result: NodeId,
}Expand description
One opening removed from a host, with the nodes that express it.
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.opening: EntityIdThe voiding element (IfcOpeningElement, IfcVoidingFeature, …).
relation: EntityIdThe IfcRelVoidsElement that authored the subtraction.
body: NodeIdThe opening’s lowered Body, placed in world space. Since #388 this is
usually an Instance of the host’s world transform above the body
placed in the host’s frame.
result: NodeIdThe host with this opening and every earlier one removed.
Trait Implementations§
Source§impl Clone for Subtraction
impl Clone for Subtraction
Source§fn clone(&self) -> Subtraction
fn clone(&self) -> Subtraction
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 moreimpl Copy for Subtraction
Source§impl Debug for Subtraction
impl Debug for Subtraction
impl Eq for Subtraction
Source§impl PartialEq for Subtraction
impl PartialEq for Subtraction
impl StructuralPartialEq for Subtraction
Auto Trait Implementations§
impl Freeze for Subtraction
impl RefUnwindSafe for Subtraction
impl Send for Subtraction
impl Sync for Subtraction
impl Unpin for Subtraction
impl UnsafeUnpin for Subtraction
impl UnwindSafe for Subtraction
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