pub trait RangeInclusiveExt<Idx> {
// Required methods
fn new_log(start: Idx, end: Idx) -> Self
where Idx: DeepModel,
Idx::DeepModelTy: OrdLogic;
fn start_log(self) -> Idx;
fn end_log(self) -> Idx;
fn is_empty_log(self) -> bool
where Idx: DeepModel,
Idx::DeepModelTy: OrdLogic;
}Required Methods§
Sourcefn is_empty_log(self) -> bool
fn is_empty_log(self) -> bool
logic ⚠
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<Idx> RangeInclusiveExt<Idx> for RangeInclusive<Idx>
impl<Idx> RangeInclusiveExt<Idx> for RangeInclusive<Idx>
Source§fn new_log(start: Idx, end: Idx) -> Self
fn new_log(start: Idx, end: Idx) -> Self
logic(opaque) ⚠
ensures
start == result.start_log()ensures
end == result.end_log()ensures
start.deep_model() <= end.deep_model() ==> !result.is_empty_log()Source§fn is_empty_log(self) -> bool
fn is_empty_log(self) -> bool
logic(opaque) ⚠
ensures
!result ==> self.start_log().deep_model() <= self.end_log().deep_model()