Skip to main content

EngineAddressabilityCheckV3

Struct EngineAddressabilityCheckV3 

Source
pub struct EngineAddressabilityCheckV3<'a> { /* private fields */ }
Expand description

Current-output V3 engine addressability check.

This preserves the V2 rule and allocation behavior while lifting its basis references and prediction attachment into the exact-source-capable V3 contracts required by current lint output.

Implementations§

Source§

impl<'a> EngineAddressabilityCheckV3<'a>

Source

pub fn new( source: &'a LoadedSource, provenance: Option<&'a PredictionProvenanceV3>, ) -> Result<Self, PredictionRuleError>

Bind current V3 provenance to same-load source evidence.

Trait Implementations§

Source§

impl Check for EngineAddressabilityCheckV3<'_>

Source§

fn id(&self) -> &'static str

Stable identifier, e.g. "loop-seam". Used in config, JSON output, and --select.
Source§

fn applicability(&self, _ctx: &CheckCtx<'_>) -> Applicability

Whether this document and configuration declare work for the check. Read more
Source§

fn evaluate(&self, _ctx: &CheckCtx<'_>) -> CheckOutput

Evaluate every modelled work unit, returning content findings and explicit coverage. Missing prerequisites are gaps, never findings.
Source§

fn prediction_facet_demand_v2( &self, _ctx: &CheckCtx<'_>, ) -> PredictionFacetDemandV2

Bounded V2 facet demand, collected before current-output evaluation.
Source§

fn evaluate_with_prediction_allocation_v2( &self, _ctx: &CheckCtx<'_>, allocation: PredictionRuleAllocationV2<'_>, ) -> CheckOutput

Evaluate after the catalog allocator has reserved this check’s slots.
Source§

fn enabled_by_default(&self) -> bool

Whether the check runs when its configuration has no explicit severity setting. Read more
Source§

fn allows_severity_off(&self) -> bool

Whether an explicitly selected and applicable check may be disabled with severity = "off". Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.