pub struct EngineImportAdviceV1 { /* private fields */ }Expand description
Standalone producer envelope for generate import-advice.
Implementations§
Source§impl EngineImportAdviceV1
impl EngineImportAdviceV1
Sourcepub fn supports_profile(profile: &EngineProfile) -> bool
pub fn supports_profile(profile: &EngineProfile) -> bool
Whether an immutable profile record has an exact V1 advice mapping.
This static check requires no asset I/O. It is intentionally false for Bevy and for any future profile revision until that exact record gains a separately reviewed advice mapping.
Sourcepub fn from_source(
tool: ToolInfo,
source: &LoadedSource,
profile: &ResolvedProfile,
config: &Config,
) -> Result<Self, EngineImportAdviceError>
pub fn from_source( tool: ToolInfo, source: &LoadedSource, profile: &ResolvedProfile, config: &Config, ) -> Result<Self, EngineImportAdviceError>
Construct one bounded result from same-load source, profile, intent,
and measurement evidence. Measurements and configured rig roles are
derived inside this boundary from source, so a caller cannot attach
a map computed from another normalized document.
Exact Unreal and Godot V1 profiles produce a typed refusal because those immutable revisions expose no setting vocabulary.
§Errors
Returns EngineImportAdviceError for an unsupported profile,
invalid same-load provenance, malformed materialized Unity settings,
or a contract invariant.
Sourcepub const fn identity(&self) -> &EngineImportAdviceIdentityV1
pub const fn identity(&self) -> &EngineImportAdviceIdentityV1
Canonical advice identity.
Sourcepub const fn prediction_provenance(&self) -> &PredictionProvenanceV1
pub const fn prediction_provenance(&self) -> &PredictionProvenanceV1
Exact shared profile/settings/source/closure provenance.
Sourcepub const fn state(&self) -> EngineImportAdviceStateV1
pub const fn state(&self) -> EngineImportAdviceStateV1
Advice availability state.
Sourcepub const fn refusal_reason(&self) -> Option<EngineImportAdviceRefusalReasonV1>
pub const fn refusal_reason(&self) -> Option<EngineImportAdviceRefusalReasonV1>
Refusal reason, present exactly when state is refused.
Sourcepub fn clips(&self) -> &[EngineImportAdviceClipV1]
pub fn clips(&self) -> &[EngineImportAdviceClipV1]
File-scoped clip evidence, empty for a refused result.
Sourcepub const fn payload(&self) -> &EngineImportAdvicePayloadV1
pub const fn payload(&self) -> &EngineImportAdvicePayloadV1
Profile-specific setting projection or unmodeled payload.
Trait Implementations§
Source§impl Clone for EngineImportAdviceV1
impl Clone for EngineImportAdviceV1
Source§fn clone(&self) -> EngineImportAdviceV1
fn clone(&self) -> EngineImportAdviceV1
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more