MCPcopy Create free account
hub / github.com/KentBeck/BPlusTree3 / CustomRange

Class CustomRange

rust/examples/range_syntax_demo.rs:49–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 use std::ops::{Bound, RangeBounds};
48
49 struct CustomRange {
50 start: i32,
51 end: i32,
52 }
53
54 impl RangeBounds<i32> for CustomRange {
55 fn start_bound(&self) -> Bound<&i32> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected