pub enum LawKind {
Physical,
Fictional,
}Expand description
Whether a law is physically valid or a fictional/game rule (T72).
Variants§
Physical
A physical law — respects conservation of mass, energy, charge, etc. Violations are diagnostic errors, not gameplay.
Fictional
A fictional/game rule — may violate physics for narrative or gameplay purposes. Provenance still travels, but the kind is explicit so physics simulations can reject it.
Implementations§
Trait Implementations§
impl Copy for LawKind
impl Eq for LawKind
impl StructuralPartialEq for LawKind
Auto Trait Implementations§
impl Freeze for LawKind
impl RefUnwindSafe for LawKind
impl Send for LawKind
impl Sync for LawKind
impl Unpin for LawKind
impl UnsafeUnpin for LawKind
impl UnwindSafe for LawKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.