pub enum FiberResponseKind {
Strain,
Stress,
}Expand description
One recorder: a single scalar channel’s history against its stage’s load
factor. NodeDisp was the first variant (node displacement/load-factor
history for a static pushover); ElementForce (results-storage-indexeddb.md’s
“several more types of recorders” plan) is the second, sharing the exact
same batching/storage machinery — see session::ResolvedRecorder and
StepOutcome::recorder_batches, neither of which needed to change shape
to add it. ElementForce’s element_kind/element_index pair mirrors
ElementLoadTable’s existing disambiguation between per-kind element
tables (ElasticBeamColumn2dTable, FiberBeamColumn3dTable, …) — there is
no single flat element table to index into directly, unlike NodeTable.
Adding a future response kind (velocity, acceleration, …) is one more
variant here plus one more match arm in ModelSession::record_sample,
not a new parallel type or a new Session/StepOutcome field.
Which half of a fiber’s (strain, stress) pair (core::FiberSection:: fiber_responses’s doc comment) a RecorderSpec::Fiber reads — one scalar channel per recorder, same as every other
kind here.
Variants§
Trait Implementations§
Source§impl Clone for FiberResponseKind
impl Clone for FiberResponseKind
Source§fn clone(&self) -> FiberResponseKind
fn clone(&self) -> FiberResponseKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for FiberResponseKind
Source§impl Debug for FiberResponseKind
impl Debug for FiberResponseKind
Source§impl<'de> Deserialize<'de> for FiberResponseKind
impl<'de> Deserialize<'de> for FiberResponseKind
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>,
impl Eq for FiberResponseKind
Source§impl PartialEq for FiberResponseKind
impl PartialEq for FiberResponseKind
Source§impl Serialize for FiberResponseKind
impl Serialize for FiberResponseKind
impl StructuralPartialEq for FiberResponseKind
Source§impl Tsify for FiberResponseKind
impl Tsify for FiberResponseKind
const DECL: &'static str = "/**\n * One recorder: a single scalar channel\'s history against its stage\'s load\n * factor. `NodeDisp` was the first variant (node displacement/load-factor\n * history for a static pushover); `ElementForce` (results-storage-indexeddb.md\'s\n * \"several more types of recorders\" plan) is the second, sharing the exact\n * same batching/storage machinery \u{2014} see `session::ResolvedRecorder` and\n * `StepOutcome::recorder_batches`, neither of which needed to change shape\n * to add it. `ElementForce`\'s `element_kind`/`element_index` pair mirrors\n * `ElementLoadTable`\'s existing disambiguation between per-kind element\n * tables (`ElasticBeamColumn2dTable`, `FiberBeamColumn3dTable`, ...) \u{2014} there is\n * no single flat element table to index into directly, unlike `NodeTable`.\n * Adding a future response kind (velocity, acceleration, ...) is one more\n * variant here plus one more match arm in `ModelSession::record_sample`,\n * not a new parallel type or a new `Session`/`StepOutcome` field.\n * Which half of a fiber\'s `(strain, stress)` pair (`core::FiberSection::\n * fiber_responses`\'s doc comment) a `RecorderSpec::Fiber` reads \u{2014} one scalar channel per recorder, same as every other\n * kind here.\n */\nexport type FiberResponseKind = \"strain\" | \"stress\";"
const SERIALIZATION_CONFIG: SerializationConfig
Source§type JsType = JsType
type JsType = JsType
#[wasm_bindgen] extern "C" { .. }.
[Ts<T>] is #[repr(transparent)] over this and passes it across the
ABI as a plain JS handle, which any other representation would break.fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
Auto Trait Implementations§
impl Freeze for FiberResponseKind
impl RefUnwindSafe for FiberResponseKind
impl Send for FiberResponseKind
impl Sync for FiberResponseKind
impl Unpin for FiberResponseKind
impl UnsafeUnpin for FiberResponseKind
impl UnwindSafe for FiberResponseKind
Blanket Implementations§
impl<T> Boilerplate for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T, U> Imply<T> for U
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.