#[non_exhaustive]pub struct BoundaryConditionDraft<'a> {
pub name: Option<&'a str>,
pub translational: AxisValues<Option<StiffnessValue>>,
pub rotational: AxisValues<Option<StiffnessValue>>,
pub warping: Option<StiffnessValue>,
}Expand description
Authored fields for a boundary condition.
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.name: Option<&'a str>IfcBoundaryCondition.Name, if given.
translational: AxisValues<Option<StiffnessValue>>Translational stiffness per axis. None leaves the axis unset,
which the reader reports as absent rather than zero – an unset
support is not a free one.
rotational: AxisValues<Option<StiffnessValue>>Rotational stiffness per axis. Ignored for face conditions, which declare no rotational attributes.
warping: Option<StiffnessValue>Warping stiffness. Only NodeWarping declares it.
Implementations§
Source§impl<'a> BoundaryConditionDraft<'a>
impl<'a> BoundaryConditionDraft<'a>
Sourcepub fn translational(self, value: AxisValues<Option<StiffnessValue>>) -> Self
pub fn translational(self, value: AxisValues<Option<StiffnessValue>>) -> Self
Sets translational: Translational stiffness per axis. None leaves
the axis unset, which the reader reports as absent rather than zero –
an unset support is not a free one.
Sourcepub fn rotational(self, value: AxisValues<Option<StiffnessValue>>) -> Self
pub fn rotational(self, value: AxisValues<Option<StiffnessValue>>) -> Self
Sets rotational: Rotational stiffness per axis. Ignored for face
conditions, which declare no rotational attributes.
Sourcepub fn warping(self, value: StiffnessValue) -> Self
pub fn warping(self, value: StiffnessValue) -> Self
Sets warping: Warping stiffness. Only NodeWarping declares it.
Trait Implementations§
Source§impl<'a> Clone for BoundaryConditionDraft<'a>
impl<'a> Clone for BoundaryConditionDraft<'a>
impl<'a> Copy for BoundaryConditionDraft<'a>
Source§impl<'a> Debug for BoundaryConditionDraft<'a>
impl<'a> Debug for BoundaryConditionDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for BoundaryConditionDraft<'a>
impl<'a> RefUnwindSafe for BoundaryConditionDraft<'a>
impl<'a> Send for BoundaryConditionDraft<'a>
impl<'a> Sync for BoundaryConditionDraft<'a>
impl<'a> Unpin for BoundaryConditionDraft<'a>
impl<'a> UnsafeUnpin for BoundaryConditionDraft<'a>
impl<'a> UnwindSafe for BoundaryConditionDraft<'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