pub enum MemberLoadKind {
Point {
a: f64,
p: f64,
},
Distributed {
a: f64,
b: f64,
w1: f64,
w2: f64,
},
}Expand description
部材(梁)荷重の種別。位置・強度はすべて部材ローカル x 軸(i→j)に沿った
距離 [mm] と強度で与える。作用方向は MemberLoad::dir(全体座標)で指定する。
Variants§
Point
中間集中荷重: i 端から距離 a [mm] の位置に大きさ p [N]。
Distributed
区間分布荷重: [a, b] 区間に強度 w1→w2 [N/mm] の線形分布。
等分布は w1 == w2、全長は a = 0, b = L、三角形は端の強度を 0 にする。
Trait Implementations§
Source§impl Clone for MemberLoadKind
impl Clone for MemberLoadKind
Source§fn clone(&self) -> MemberLoadKind
fn clone(&self) -> MemberLoadKind
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 MemberLoadKind
impl Debug for MemberLoadKind
Source§impl<'de> Deserialize<'de> for MemberLoadKind
impl<'de> Deserialize<'de> for MemberLoadKind
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
Source§impl PartialEq for MemberLoadKind
impl PartialEq for MemberLoadKind
Source§fn eq(&self, other: &MemberLoadKind) -> bool
fn eq(&self, other: &MemberLoadKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MemberLoadKind
impl Serialize for MemberLoadKind
impl StructuralPartialEq for MemberLoadKind
Auto Trait Implementations§
impl Freeze for MemberLoadKind
impl RefUnwindSafe for MemberLoadKind
impl Send for MemberLoadKind
impl Sync for MemberLoadKind
impl Unpin for MemberLoadKind
impl UnsafeUnpin for MemberLoadKind
impl UnwindSafe for MemberLoadKind
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