pub struct ParameterVersion(pub u64);Expand description
Tracks the version of global simulation parameters.
Incremented when any SetParameter or SetParameterBatch command
is applied, enabling stale-parameter detection.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for ParameterVersion
impl Clone for ParameterVersion
Source§fn clone(&self) -> ParameterVersion
fn clone(&self) -> ParameterVersion
Returns a duplicate of the value. Read more
1.0.0 · 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 ParameterVersion
impl Debug for ParameterVersion
Source§impl Display for ParameterVersion
impl Display for ParameterVersion
Source§impl From<u64> for ParameterVersion
impl From<u64> for ParameterVersion
Source§impl Hash for ParameterVersion
impl Hash for ParameterVersion
Source§impl Ord for ParameterVersion
impl Ord for ParameterVersion
Source§fn cmp(&self, other: &ParameterVersion) -> Ordering
fn cmp(&self, other: &ParameterVersion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ParameterVersion
impl PartialEq for ParameterVersion
Source§impl PartialOrd for ParameterVersion
impl PartialOrd for ParameterVersion
impl Copy for ParameterVersion
impl Eq for ParameterVersion
impl StructuralPartialEq for ParameterVersion
Auto Trait Implementations§
impl Freeze for ParameterVersion
impl RefUnwindSafe for ParameterVersion
impl Send for ParameterVersion
impl Sync for ParameterVersion
impl Unpin for ParameterVersion
impl UnwindSafe for ParameterVersion
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