struct Subrs {
data: Vec<u8>,
index: Vec<(u32, Range<usize>)>,
is_dense: bool,
}Expand description
Collection of subroutines.
Fields§
§data: Vec<u8>Packed data for all subroutines.
index: Vec<(u32, Range<usize>)>Index mapping subroutine number to range in the packed data. Sorted by subroutine number.
is_dense: boolIf true, subroutine number == index so we don’t need to bsearch.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Subrs
impl RefUnwindSafe for Subrs
impl Send for Subrs
impl Sync for Subrs
impl Unpin for Subrs
impl UnsafeUnpin for Subrs
impl UnwindSafe for Subrs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more