pub enum LoadKind {
Force {
fx: f64,
fy: f64,
fz: f64,
},
Moment {
mx: f64,
my: f64,
mz: f64,
},
Pressure {
magnitude_pa: f64,
},
BodyForce {
gx: f64,
gy: f64,
gz: f64,
},
CurrentDensity {
jx: f64,
jy: f64,
jz: f64,
phase_rad: f64,
amplitude_scale: f64,
},
CoilCurrent {
current_a: f64,
phase_rad: f64,
amplitude_scale: f64,
},
HeatSource {
volumetric_w_per_m3: f64,
},
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LoadKind
impl<'de> Deserialize<'de> for LoadKind
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 StructuralPartialEq for LoadKind
Auto Trait Implementations§
impl Freeze for LoadKind
impl RefUnwindSafe for LoadKind
impl Send for LoadKind
impl Sync for LoadKind
impl Unpin for LoadKind
impl UnsafeUnpin for LoadKind
impl UnwindSafe for LoadKind
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