#[repr(C)]pub struct ContractVersionAxes {
pub language_version: SemVer64,
pub abi_version: SemVer64,
pub host_version: SemVer64,
pub provider_version: SemVer64,
pub ontology_version: SemVer64,
}Expand description
The five independent version axes governing a VibeScript extension provider.
Fields§
§language_version: SemVer64VibeScript language grammar & evaluation semantics version (e.g. 0.1.0).
abi_version: SemVer64vibescript-abi layout & trait surface version (e.g. 0.3.0).
host_version: SemVer64Host capability seam version (e.g. 0.1.0 for vibe-host-0.1).
provider_version: SemVer64Domain provider implementation version (matched by SemVerReq).
ontology_version: SemVer64Self-describing ontology schema version for this provider.
Implementations§
Source§impl ContractVersionAxes
impl ContractVersionAxes
Sourcepub const fn v0_3_default(
provider_version: SemVer64,
ontology_version: SemVer64,
) -> Self
pub const fn v0_3_default( provider_version: SemVer64, ontology_version: SemVer64, ) -> Self
Current canonical VibeScript 0.1 + ABI 0.3 contract baseline for a provider at provider_version.
Sourcepub const fn is_engine_compatible(&self) -> bool
pub const fn is_engine_compatible(&self) -> bool
Verifies that the provider’s ABI and language versions are compatible with the host engine.
Trait Implementations§
Source§impl Clone for ContractVersionAxes
impl Clone for ContractVersionAxes
impl Copy for ContractVersionAxes
Source§impl Debug for ContractVersionAxes
impl Debug for ContractVersionAxes
impl Eq for ContractVersionAxes
Source§impl PartialEq for ContractVersionAxes
impl PartialEq for ContractVersionAxes
impl StructuralPartialEq for ContractVersionAxes
Auto Trait Implementations§
impl Freeze for ContractVersionAxes
impl RefUnwindSafe for ContractVersionAxes
impl Send for ContractVersionAxes
impl Sync for ContractVersionAxes
impl Unpin for ContractVersionAxes
impl UnsafeUnpin for ContractVersionAxes
impl UnwindSafe for ContractVersionAxes
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