#[non_exhaustive]pub struct ReactionDraft<'a> {
pub root: StructuralRootDraft,
pub applied_load: EntityId,
pub coordinate_system: CoordinateSystem,
pub kind: ReactionDraftKind<'a>,
}Expand description
Authored fields for one structural reaction.
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 structural entities.
applied_load: EntityIdAppliedLoad; the reaction force the analysis produced.
coordinate_system: CoordinateSystemGlobalOrLocal.
kind: ReactionDraftKind<'a>Which subtype, and its PredefinedType where one applies.
Implementations§
Source§impl<'a> ReactionDraft<'a>
impl<'a> ReactionDraft<'a>
Sourcepub fn new(
root: StructuralRootDraft,
applied_load: EntityId,
coordinate_system: CoordinateSystem,
kind: ReactionDraftKind<'a>,
) -> Self
pub fn new( root: StructuralRootDraft, applied_load: EntityId, coordinate_system: CoordinateSystem, kind: ReactionDraftKind<'a>, ) -> Self
Starts a draft from its required fields; every other field is unset.
Trait Implementations§
Source§impl<'a> Clone for ReactionDraft<'a>
impl<'a> Clone for ReactionDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for ReactionDraft<'a>
impl<'a> RefUnwindSafe for ReactionDraft<'a>
impl<'a> Send for ReactionDraft<'a>
impl<'a> Sync for ReactionDraft<'a>
impl<'a> Unpin for ReactionDraft<'a>
impl<'a> UnsafeUnpin for ReactionDraft<'a>
impl<'a> UnwindSafe for ReactionDraft<'a>
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