Skip to main content

rangevec_slice

Function rangevec_slice 

Source
pub fn rangevec_slice<'a>(v: &'a RangeVec) -> &'a [RangeT]
Expand description

Borrow a rangevec_t’s backing store as &[RangeT] (the zero-copy path). The slice borrows v, so it cannot outlive it.