pub struct RoundId(pub u32);Expand description
Ordinal of a model round within a turn (0-based).
Serializable for logs and tests; the serialized form is not part of the stable set and may change in any release.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for RoundId
Source§impl<'de> Deserialize<'de> for RoundId
impl<'de> Deserialize<'de> for RoundId
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 Eq for RoundId
impl StructuralPartialEq for RoundId
Auto Trait Implementations§
impl Forget for RoundId
impl Freeze for RoundId
impl Move for RoundId
impl RefUnwindSafe for RoundId
impl Send for RoundId
impl Sync for RoundId
impl Unpin for RoundId
impl UnsafeUnpin for RoundId
impl UnwindSafe for RoundId
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