pub struct OpKey {
pub namespace: Symbol,
pub name: Symbol,
pub version: u16,
}Expand description
Stable operation identity used by lowered Term::Op nodes.
Lowered Term::Op nodes carry only the key value so terms can express
explicit op invocations. Operation specs, dispatch, adapters, and
capability gates are resolved by the op layer.
Fields§
§namespace: SymbolThe operation’s namespace.
name: SymbolThe operation’s name within the namespace.
version: u16The operation’s version.
Implementations§
Trait Implementations§
impl Eq for OpKey
Source§impl Ord for OpKey
impl Ord for OpKey
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 OpKey
impl PartialOrd for OpKey
impl StructuralPartialEq for OpKey
Auto Trait Implementations§
impl Freeze for OpKey
impl RefUnwindSafe for OpKey
impl Send for OpKey
impl Sync for OpKey
impl Unpin for OpKey
impl UnsafeUnpin for OpKey
impl UnwindSafe for OpKey
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