Skip to main content

RangeBoundsSpec

Trait RangeBoundsSpec 

Source
pub trait RangeBoundsSpec<T: ?Sized>: RangeBounds<T> {
    // Required methods
    spec fn spec_start_bound(&self) -> SpecBound<&T>;
    spec fn spec_end_bound(&self) -> SpecBound<&T>;
}

Required Methods§

Source

spec fn spec_start_bound(&self) -> SpecBound<&T>

Source

spec fn spec_end_bound(&self) -> SpecBound<&T>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: ?Sized, VERUS_SPEC__A: RangeBounds<T> + ?Sized> RangeBoundsSpec<T> for VERUS_SPEC__A