pub struct Listed {
pub line: usize,
pub at: usize,
pub end: usize,
}Expand description
One instruction of a Positioned listing.
Fields§
§line: usizeThe line of the text that lists it, from 0. It is one line, but for a switch, whose cases and closing bracket
follow on lines of their own.
at: usizeThe bit its record starts at in the part’s bitcode: crate::module::Instruction::at of the module read from
that bitcode (crate::module() of (chunks, part)), so an instruction is found by that value.
end: usizeThe bit just past its record (crate::bitstream::Record::end): the record is bits at..end.
Trait Implementations§
impl Copy for Listed
impl Eq for Listed
impl StructuralPartialEq for Listed
Auto Trait Implementations§
impl Forget for Listed
impl Freeze for Listed
impl RefUnwindSafe for Listed
impl Send for Listed
impl Sync for Listed
impl Unpin for Listed
impl UnsafeUnpin for Listed
impl UnwindSafe for Listed
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