pub struct VmSourceLocation {
pub file_name: String,
pub is_root: bool,
pub line_number: usize,
}Expand description
One debugger-visible source location derived from attached NDB metadata.
Fields§
§file_name: StringFile name as recorded in the attached NDB table.
is_root: boolWhether this file is the root script file.
line_number: usizeOne-based source line number.
Trait Implementations§
Source§impl Clone for VmSourceLocation
impl Clone for VmSourceLocation
Source§fn clone(&self) -> VmSourceLocation
fn clone(&self) -> VmSourceLocation
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 VmSourceLocation
impl Debug for VmSourceLocation
Source§impl PartialEq for VmSourceLocation
impl PartialEq for VmSourceLocation
impl Eq for VmSourceLocation
impl StructuralPartialEq for VmSourceLocation
Auto Trait Implementations§
impl Freeze for VmSourceLocation
impl RefUnwindSafe for VmSourceLocation
impl Send for VmSourceLocation
impl Sync for VmSourceLocation
impl Unpin for VmSourceLocation
impl UnsafeUnpin for VmSourceLocation
impl UnwindSafe for VmSourceLocation
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.