MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / copied_bound

Function copied_bound

cranelift/bforest/src/map.rs:262–271  ·  view source on GitHub ↗
(start_bound: Bound<&K>)

Source from the content-addressed store, hash-verified

260}
261
262fn copied_bound<K>(start_bound: Bound<&K>) -> Bound<K>
263where
264 K: Copy,
265{
266 match start_bound {
267 Bound::Unbounded => Bound::Unbounded,
268 Bound::Included(x) => Bound::Included(*x),
269 Bound::Excluded(x) => Bound::Excluded(*x),
270 }
271}
272
273impl<K, V> Default for Map<K, V>
274where

Callers 1

rangeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected