pub struct LawAxisId(pub u8);Expand description
Stable numeric index for a named LawAxis variant.
All 11 named variants fit in bits 0–10 of a u64. Custom axes have no
stable numeric identity and are excluded from bitmask arithmetic.
Tuple Fields§
§0: u8Implementations§
Source§impl LawAxisId
impl LawAxisId
pub const PROTOCOL: LawAxisId
pub const TYPE: LawAxisId
pub const FIXTURE: LawAxisId
pub const DOCUMENTATION: LawAxisId
pub const RELEASE: LawAxisId
pub const HOOK: LawAxisId
pub const REPAIR: LawAxisId
pub const RECEIPT: LawAxisId
pub const SECURITY: LawAxisId
pub const AUTOPOIESIS: LawAxisId
pub const DOMAIN: LawAxisId
Trait Implementations§
impl Copy for LawAxisId
impl Eq for LawAxisId
Source§impl Ord for LawAxisId
impl Ord for LawAxisId
1.21.0 (const: unstable) · 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 PartialOrd for LawAxisId
impl PartialOrd for LawAxisId
impl StructuralPartialEq for LawAxisId
Auto Trait Implementations§
impl Freeze for LawAxisId
impl RefUnwindSafe for LawAxisId
impl Send for LawAxisId
impl Sync for LawAxisId
impl Unpin for LawAxisId
impl UnsafeUnpin for LawAxisId
impl UnwindSafe for LawAxisId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.