pub struct CodingDomain;Expand description
The coding domain package.
Implementations§
Source§impl CodingDomain
impl CodingDomain
Trait Implementations§
Source§impl AgentDomainPackage for CodingDomain
impl AgentDomainPackage for CodingDomain
Source§fn detect(&self, workspace: &WorkspaceSnapshot) -> DomainDetection
fn detect(&self, workspace: &WorkspaceSnapshot) -> DomainDetection
Detect whether this domain applies to a workspace.
Source§fn residual_schema(&self, _scope: &DomainScope) -> ResidualSchema
fn residual_schema(&self, _scope: &DomainScope) -> ResidualSchema
The residual classes this domain can emit for a scope.
Source§fn energy_model(&self, scope: &DomainScope) -> EnergyModel
fn energy_model(&self, scope: &DomainScope) -> EnergyModel
The energy model (weights,
rho_gate, tolerance, budget) for a scope.Source§fn correction_directions(
&self,
residuals: &[ResidualEvent],
) -> Vec<CorrectionDirection>
fn correction_directions( &self, residuals: &[ResidualEvent], ) -> Vec<CorrectionDirection>
Derive correction directions from dominant residuals. Returning an empty
vector for residuals that genuinely have no direction is honest; the
runtime then escalates rather than issuing an undirected retry.
Source§impl Clone for CodingDomain
impl Clone for CodingDomain
Source§fn clone(&self) -> CodingDomain
fn clone(&self) -> CodingDomain
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 moreSource§impl Debug for CodingDomain
impl Debug for CodingDomain
Source§impl Default for CodingDomain
impl Default for CodingDomain
Source§fn default() -> CodingDomain
fn default() -> CodingDomain
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CodingDomain
impl RefUnwindSafe for CodingDomain
impl Send for CodingDomain
impl Sync for CodingDomain
impl Unpin for CodingDomain
impl UnsafeUnpin for CodingDomain
impl UnwindSafe for CodingDomain
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.