pub struct BytecodeMappedSlice<'a, Op> { /* private fields */ }Expand description
A slice into a BytecodeMapped instance.
Implementations§
Source§impl<'a, Op> BytecodeMappedSlice<'a, Op>
 
impl<'a, Op> BytecodeMappedSlice<'a, Op>
Sourcepub fn op_indices(self) -> &'a [usize]
 
pub fn op_indices(self) -> &'a [usize]
The slice of operation indices within the mapped bytecode.
Sourcepub fn ops(self) -> impl 'a + Iterator<Item = Op>where
    Op: TryFromBytes,
 
pub fn ops(self) -> impl 'a + Iterator<Item = Op>where
    Op: TryFromBytes,
An iterator yielding all mapped operations represented by this slice.
Trait Implementations§
Source§impl<'a, Op: Clone> Clone for BytecodeMappedSlice<'a, Op>
 
impl<'a, Op: Clone> Clone for BytecodeMappedSlice<'a, Op>
Source§fn clone(&self) -> BytecodeMappedSlice<'a, Op>
 
fn clone(&self) -> BytecodeMappedSlice<'a, Op>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl<'a, Op: Debug> Debug for BytecodeMappedSlice<'a, Op>
 
impl<'a, Op: Debug> Debug for BytecodeMappedSlice<'a, Op>
Source§impl<'a, Op: PartialEq> PartialEq for BytecodeMappedSlice<'a, Op>
 
impl<'a, Op: PartialEq> PartialEq for BytecodeMappedSlice<'a, Op>
impl<'a, Op: Copy> Copy for BytecodeMappedSlice<'a, Op>
impl<'a, Op> StructuralPartialEq for BytecodeMappedSlice<'a, Op>
Auto Trait Implementations§
impl<'a, Op> Freeze for BytecodeMappedSlice<'a, Op>
impl<'a, Op> RefUnwindSafe for BytecodeMappedSlice<'a, Op>where
    Op: RefUnwindSafe,
impl<'a, Op> Send for BytecodeMappedSlice<'a, Op>where
    Op: Send,
impl<'a, Op> Sync for BytecodeMappedSlice<'a, Op>where
    Op: Sync,
impl<'a, Op> Unpin for BytecodeMappedSlice<'a, Op>where
    Op: Unpin,
impl<'a, Op> UnwindSafe for BytecodeMappedSlice<'a, Op>where
    Op: UnwindSafe,
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