1 2 3 4 5 6 7 8 9
/// Handle for temporary conditions that can be removed #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct ConditionHandle(pub(crate) i64); impl ConditionHandle { pub(crate) fn new(id: i64) -> Self { Self(id) } }