pub struct GroundCtx {
pub scale: u32,
pub flow_quantities: Option<Vec<i128>>,
}Expand description
Ground context shared by all policies of one model.
Fields§
§scale: u32Shared decimal scale k: every quantity is an integer value × 10⁻ᵏ.
flow_quantities: Option<Vec<i128>>Scaled flow quantities, in the same order as the emitted flows list.
None when the model emits no flows definition (flow-referencing
policies must then defer).
Auto Trait Implementations§
impl Forget for GroundCtx
impl Freeze for GroundCtx
impl Move for GroundCtx
impl RefUnwindSafe for GroundCtx
impl Send for GroundCtx
impl Sync for GroundCtx
impl Unpin for GroundCtx
impl UnsafeUnpin for GroundCtx
impl UnwindSafe for GroundCtx
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