pub struct PhaseShiftParams {
pub andon_active: bool,
pub refused: bool,
pub unknown: bool,
pub conformance: f64,
pub boiling_point: f64,
}Expand description
Parameters for max/phaseShift: a hypothetical world-state to resolve.
Fields§
§andon_active: boolWhether an ANDON signal is active (the highest-precedence floor).
refused: boolWhether the observation is explicitly refused by law.
unknown: boolWhether the measurement is undetermined (forces UNKNOWN).
conformance: f64Conformance measurement in [0.0, 1.0] (the “temperature”).
boiling_point: f64The admission threshold in [0.0, 1.0] (the “boiling point”).
Trait Implementations§
Source§impl Clone for PhaseShiftParams
impl Clone for PhaseShiftParams
Source§fn clone(&self) -> PhaseShiftParams
fn clone(&self) -> PhaseShiftParams
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 PhaseShiftParams
impl Debug for PhaseShiftParams
Source§impl<'de> Deserialize<'de> for PhaseShiftParams
impl<'de> Deserialize<'de> for PhaseShiftParams
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
Auto Trait Implementations§
impl Freeze for PhaseShiftParams
impl RefUnwindSafe for PhaseShiftParams
impl Send for PhaseShiftParams
impl Sync for PhaseShiftParams
impl Unpin for PhaseShiftParams
impl UnsafeUnpin for PhaseShiftParams
impl UnwindSafe for PhaseShiftParams
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