pub struct TriregCharge {
pub last_value: FourStateValue,
pub strength: ChargeStrength,
pub last_drive_time: SimTime,
}Expand description
trireg’s own charge-decay state (state.md §4/§6): stored in
StateEngine’s own side table (instance.rs’s trireg_charge field),
never as a normal DriverEntry — trireg decay timing itself is a
TIMING-subsystem hook this task only stores state for, not implemented
here.
Fields§
§last_value: FourStateValue§strength: ChargeStrength§last_drive_time: SimTimeTrait Implementations§
Source§impl Clone for TriregCharge
impl Clone for TriregCharge
Auto Trait Implementations§
impl Freeze for TriregCharge
impl RefUnwindSafe for TriregCharge
impl Send for TriregCharge
impl Sync for TriregCharge
impl Unpin for TriregCharge
impl UnsafeUnpin for TriregCharge
impl UnwindSafe for TriregCharge
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