pub enum MaterialCategory {
Steel,
Rebar,
Concrete,
}Expand description
材料の区分。
部材が S 造か RC 造かは、断面形状ではなくこの区分で判定する
(crate::structure_kind)。断面形状は見た目であって力学的な性質ではなく、
H 形のコンクリート部材・矩形断面の鋼部材のいずれもありうるためである。
任意の材料と任意の断面の組み合わせでも、どの検定式を適用すべきかが定まる。
SRC・CFT は 1 つの材料では表せない複合断面なので、断面形状の側で判定する
(SrcRect は内蔵鉄骨のグレードを断面に持ち、CFT は Material::fc を
充填コンクリートの強度として使う)。
Variants§
Steel
構造用鋼材。
Rebar
鉄筋。RC 部材の主筋・せん断補強筋に用いる。
材料としては鋼だが、これを割り当てた線材は S 造ではない。RC 断面の配筋は
断面側(RcRebar)にグレード名として持つため、線材の材料として
鉄筋を割り当てるのは入力の誤りである。
Concrete
コンクリート。
Implementations§
Trait Implementations§
Source§impl Clone for MaterialCategory
impl Clone for MaterialCategory
Source§fn clone(&self) -> MaterialCategory
fn clone(&self) -> MaterialCategory
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 moreimpl Copy for MaterialCategory
Source§impl Debug for MaterialCategory
impl Debug for MaterialCategory
Source§impl<'de> Deserialize<'de> for MaterialCategory
impl<'de> Deserialize<'de> for MaterialCategory
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
impl Eq for MaterialCategory
Source§impl PartialEq for MaterialCategory
impl PartialEq for MaterialCategory
Source§fn eq(&self, other: &MaterialCategory) -> bool
fn eq(&self, other: &MaterialCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MaterialCategory
impl Serialize for MaterialCategory
impl StructuralPartialEq for MaterialCategory
Auto Trait Implementations§
impl Freeze for MaterialCategory
impl RefUnwindSafe for MaterialCategory
impl Send for MaterialCategory
impl Sync for MaterialCategory
impl Unpin for MaterialCategory
impl UnsafeUnpin for MaterialCategory
impl UnwindSafe for MaterialCategory
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