pub struct SegmentConfig {
pub id: usize,
pub length: f64,
pub material: Material,
pub section: CrossSection,
pub left_bc: BoundaryCondition,
pub right_bc: BoundaryCondition,
}Expand description
One segment of a multi-segment beam
Fields§
§id: usize§length: f64§material: Material§section: CrossSection§left_bc: BoundaryCondition§right_bc: BoundaryConditionImplementations§
Trait Implementations§
Source§impl Clone for SegmentConfig
impl Clone for SegmentConfig
Source§fn clone(&self) -> SegmentConfig
fn clone(&self) -> SegmentConfig
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 SegmentConfig
impl Debug for SegmentConfig
Source§impl<'de> Deserialize<'de> for SegmentConfig
impl<'de> Deserialize<'de> for SegmentConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SegmentConfig
impl RefUnwindSafe for SegmentConfig
impl Send for SegmentConfig
impl Sync for SegmentConfig
impl Unpin for SegmentConfig
impl UnsafeUnpin for SegmentConfig
impl UnwindSafe for SegmentConfig
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