pub struct MaterialPreset {
pub name: &'static str,
pub category: MaterialCategory,
pub young: f64,
pub poisson: f64,
pub density: f64,
pub fc: Option<f64>,
pub fy: Option<f64>,
}Expand description
UI に提示する標準材料プリセット(内部単位系 N-mm-s。密度は ton/mm³)。
Fields§
§name: &'static str§category: MaterialCategory§young: f64ヤング係数 E [N/mm²]
poisson: f64ポアソン比 ν
density: f64質量密度 [ton/mm³]
fc: Option<f64>コンクリート設計基準強度 Fc [N/mm²](鋼材・鉄筋は None)
fy: Option<f64>基準強度 F(板厚 40mm 以下)/鉄筋降伏点 [N/mm²](コンクリートは None)
Trait Implementations§
Source§impl Clone for MaterialPreset
impl Clone for MaterialPreset
Source§fn clone(&self) -> MaterialPreset
fn clone(&self) -> MaterialPreset
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 MaterialPreset
impl Debug for MaterialPreset
Source§impl PartialEq for MaterialPreset
impl PartialEq for MaterialPreset
Source§fn eq(&self, other: &MaterialPreset) -> bool
fn eq(&self, other: &MaterialPreset) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MaterialPreset
Auto Trait Implementations§
impl Freeze for MaterialPreset
impl RefUnwindSafe for MaterialPreset
impl Send for MaterialPreset
impl Sync for MaterialPreset
impl Unpin for MaterialPreset
impl UnsafeUnpin for MaterialPreset
impl UnwindSafe for MaterialPreset
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