pub enum BlockItem<'cursor, 'input> {
Block(BlockIter<'cursor, 'input>),
Record(RecordIter<'cursor, 'input>),
}Expand description
A block can contain either nested blocks or records. LLVM writes blocks first, but the format allows them to be mixed freely.
Variants§
Block(BlockIter<'cursor, 'input>)
Recurse
Record(RecordIter<'cursor, 'input>)
Read a record from the current block
Trait Implementations§
Auto Trait Implementations§
impl<'cursor, 'input> Freeze for BlockItem<'cursor, 'input>
impl<'cursor, 'input> RefUnwindSafe for BlockItem<'cursor, 'input>
impl<'cursor, 'input> Send for BlockItem<'cursor, 'input>
impl<'cursor, 'input> Sync for BlockItem<'cursor, 'input>
impl<'cursor, 'input> Unpin for BlockItem<'cursor, 'input>
impl<'cursor, 'input> !UnwindSafe for BlockItem<'cursor, 'input>
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