pub struct StabilityRegistry { /* private fields */ }Expand description
Registry of API surface items used by freeze checklists.
Implementations§
Source§impl StabilityRegistry
impl StabilityRegistry
Sourcepub fn register(&mut self, path: impl Into<String>, class: ApiStabilityClass)
pub fn register(&mut self, path: impl Into<String>, class: ApiStabilityClass)
Registers an item (replaces an existing path if present).
Sourcepub fn lookup(&self, path: &str) -> Option<&ApiSurfaceItem>
pub fn lookup(&self, path: &str) -> Option<&ApiSurfaceItem>
Looks up one path.
Sourcepub fn items(&self) -> &[ApiSurfaceItem]
pub fn items(&self) -> &[ApiSurfaceItem]
Returns items.
Sourcepub fn provisional_count(&self) -> usize
pub fn provisional_count(&self) -> usize
Counts provisional APIs.
Sourcepub fn experimental_count(&self) -> usize
pub fn experimental_count(&self) -> usize
Counts experimental APIs.
Sourcepub fn vision_v1_surface() -> Self
pub fn vision_v1_surface() -> Self
Seeds the SpatialRust Vision 1.x ownership and algorithm-entry surface.
Backend implementations and calibration/video algorithms added by later OpenCV-outcome Epics remain provisional until their own freeze gates.
Sourcepub fn vision_v2_surface() -> Self
pub fn vision_v2_surface() -> Self
Seeds the Vision 2 release surface while retaining every Vision 1 item.
Sourcepub fn bounded_streaming_v1_2_surface() -> Self
pub fn bounded_streaming_v1_2_surface() -> Self
Seeds the SpatialRust 1.2 bounded-streaming release surface.
Sourcepub fn visual_surface() -> Self
pub fn visual_surface() -> Self
Seeds the Visual 1 release surface.
Backend-independent contracts are stable. Renderers, viewers, LOD, and language/browser adapters remain provisional behind explicit features.
Sourcepub fn north_star_surface() -> Self
pub fn north_star_surface() -> Self
Seeds the north-star crate surface used by Epic 100 gates.
Trait Implementations§
Source§impl Clone for StabilityRegistry
impl Clone for StabilityRegistry
Source§fn clone(&self) -> StabilityRegistry
fn clone(&self) -> StabilityRegistry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StabilityRegistry
impl Debug for StabilityRegistry
Source§impl Default for StabilityRegistry
impl Default for StabilityRegistry
Source§fn default() -> StabilityRegistry
fn default() -> StabilityRegistry
Source§impl PartialEq for StabilityRegistry
impl PartialEq for StabilityRegistry
Source§fn eq(&self, other: &StabilityRegistry) -> bool
fn eq(&self, other: &StabilityRegistry) -> bool
self and other values to be equal, and is used by ==.