pub enum CapabilityParam {
Any,
}Expand description
The capability-parameter slot carried by every call atom in a factored
effect row (T2-3, docs/effects-spec.md §11; ruled 2026-07-14,
docs/t1d-spec.md §7).
v1 populates every atom as CapabilityParam::Any — component-granular,
the whole capability unrefined. Path-granular refinement (#826) and the
instance-resolving handle parameter are later narrowing rungs; their
discriminants are reserved (the strict reader rejects them until a section
version graduates them), the same reservation discipline the projection
range segment follows.
Variants§
Any
The whole capability, unrefined — the only value v1 ever emits.
Trait Implementations§
Source§impl Clone for CapabilityParam
impl Clone for CapabilityParam
Source§fn clone(&self) -> CapabilityParam
fn clone(&self) -> CapabilityParam
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CapabilityParam
Source§impl Debug for CapabilityParam
impl Debug for CapabilityParam
Source§impl Default for CapabilityParam
impl Default for CapabilityParam
Source§fn default() -> CapabilityParam
fn default() -> CapabilityParam
Returns the “default value” for a type. Read more
impl Eq for CapabilityParam
Source§impl PartialEq for CapabilityParam
impl PartialEq for CapabilityParam
impl StructuralPartialEq for CapabilityParam
Auto Trait Implementations§
impl Freeze for CapabilityParam
impl RefUnwindSafe for CapabilityParam
impl Send for CapabilityParam
impl Sync for CapabilityParam
impl Unpin for CapabilityParam
impl UnsafeUnpin for CapabilityParam
impl UnwindSafe for CapabilityParam
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