pub enum StoryLevelKind {
Normal,
Penthouse {
k: f64,
},
Basement {
depth_m: f64,
},
}Expand description
Variants§
Normal
Penthouse
塔屋(PH)階。層せん断力 Qi = k·ΣWj(k は 0.5〜1.0 の指定震度)。
Basement
地下階。Qi = Q(i+1) + K·Wi、K = 0.1·(1 − H/40)·Z(H は地盤面からの深さ[m]、20m 超は 20m)。
Trait Implementations§
Source§impl Clone for StoryLevelKind
impl Clone for StoryLevelKind
Source§fn clone(&self) -> StoryLevelKind
fn clone(&self) -> StoryLevelKind
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 StoryLevelKind
Source§impl Debug for StoryLevelKind
impl Debug for StoryLevelKind
Source§impl Default for StoryLevelKind
impl Default for StoryLevelKind
Source§fn default() -> StoryLevelKind
fn default() -> StoryLevelKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StoryLevelKind
impl<'de> Deserialize<'de> for StoryLevelKind
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 StoryLevelKind
impl PartialEq for StoryLevelKind
Source§fn eq(&self, other: &StoryLevelKind) -> bool
fn eq(&self, other: &StoryLevelKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StoryLevelKind
impl Serialize for StoryLevelKind
impl StructuralPartialEq for StoryLevelKind
Auto Trait Implementations§
impl Freeze for StoryLevelKind
impl RefUnwindSafe for StoryLevelKind
impl Send for StoryLevelKind
impl Sync for StoryLevelKind
impl Unpin for StoryLevelKind
impl UnsafeUnpin for StoryLevelKind
impl UnwindSafe for StoryLevelKind
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