pub struct LineTableEntry {
pub address: FileAddress,
pub file_index: u64,
pub line: u64,
pub column: u64,
pub is_stmt: bool,
pub basic_block_start: bool,
pub end_sequence: bool,
pub prologue_end: bool,
pub epilogue_begin: bool,
pub discriminator: u64,
pub file_entry: Option<Rc<LineTableFile>>,
}Fields§
§address: FileAddress§file_index: u64§line: u64§column: u64§is_stmt: bool§basic_block_start: bool§end_sequence: bool§prologue_end: bool§epilogue_begin: bool§discriminator: u64§file_entry: Option<Rc<LineTableFile>>Implementations§
Source§impl LineTableEntry
impl LineTableEntry
Sourcepub fn builder() -> LineTableEntryBuilder<((), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> LineTableEntryBuilder<((), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building LineTableEntry.
On the builder, call .address(...)(optional), .file_index(...)(optional), .line(...)(optional), .column(...)(optional), .is_stmt(...)(optional), .basic_block_start(...)(optional), .end_sequence(...)(optional), .prologue_end(...)(optional), .epilogue_begin(...)(optional), .discriminator(...)(optional), .file_entry(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of LineTableEntry.
Trait Implementations§
Source§impl Clone for LineTableEntry
impl Clone for LineTableEntry
Source§fn clone(&self) -> LineTableEntry
fn clone(&self) -> LineTableEntry
Returns a duplicate 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 Debug for LineTableEntry
impl Debug for LineTableEntry
Source§impl Default for LineTableEntry
impl Default for LineTableEntry
Source§fn default() -> LineTableEntry
fn default() -> LineTableEntry
Returns the “default value” for a type. Read more
Source§impl PartialEq for LineTableEntry
impl PartialEq for LineTableEntry
impl Eq for LineTableEntry
Auto Trait Implementations§
impl Freeze for LineTableEntry
impl !RefUnwindSafe for LineTableEntry
impl !Send for LineTableEntry
impl !Sync for LineTableEntry
impl Unpin for LineTableEntry
impl !UnwindSafe for LineTableEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.