#[non_exhaustive]pub struct ConnectionDraft {
pub root: StructuralRootDraft,
pub kind: ConnectionDraftKind,
}Expand description
Staged fields for creating an IfcStructuralConnection via stage_connection.
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.root: StructuralRootDraftIfcRoot attributes shared with other staged structural entities.
kind: ConnectionDraftKindWhich IfcStructuralConnection subtype to create, and its subtype-specific attributes.
Implementations§
Source§impl ConnectionDraft
impl ConnectionDraft
Sourcepub fn new(root: StructuralRootDraft, kind: ConnectionDraftKind) -> Self
pub fn new(root: StructuralRootDraft, kind: ConnectionDraftKind) -> Self
Starts a draft from its required fields; every other field is unset.
Trait Implementations§
Source§impl Clone for ConnectionDraft
impl Clone for ConnectionDraft
Auto Trait Implementations§
impl Freeze for ConnectionDraft
impl RefUnwindSafe for ConnectionDraft
impl Send for ConnectionDraft
impl Sync for ConnectionDraft
impl Unpin for ConnectionDraft
impl UnsafeUnpin for ConnectionDraft
impl UnwindSafe for ConnectionDraft
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