pub struct LineNumberTableAttribute {
pub lines: Vec<LineNumber>,
}Expand description
An ordered LineNumberTable payload.
Fields§
§lines: Vec<LineNumber>Mappings in encoded order.
Implementations§
Source§impl LineNumberTableAttribute
impl LineNumberTableAttribute
Sourcepub fn decode(reader: &mut ByteReader<'_>) -> Result<Self, AttributeError>
pub fn decode(reader: &mut ByteReader<'_>) -> Result<Self, AttributeError>
Decode mappings without validating instruction boundaries.
Trait Implementations§
Source§impl Clone for LineNumberTableAttribute
impl Clone for LineNumberTableAttribute
Source§fn clone(&self) -> LineNumberTableAttribute
fn clone(&self) -> LineNumberTableAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LineNumberTableAttribute
impl Debug for LineNumberTableAttribute
impl Eq for LineNumberTableAttribute
Source§impl PartialEq for LineNumberTableAttribute
impl PartialEq for LineNumberTableAttribute
impl StructuralPartialEq for LineNumberTableAttribute
Auto Trait Implementations§
impl Freeze for LineNumberTableAttribute
impl RefUnwindSafe for LineNumberTableAttribute
impl Send for LineNumberTableAttribute
impl Sync for LineNumberTableAttribute
impl Unpin for LineNumberTableAttribute
impl UnsafeUnpin for LineNumberTableAttribute
impl UnwindSafe for LineNumberTableAttribute
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