pub struct SourceHint {
pub file: String,
pub line: Option<u32>,
pub column: Option<u32>,
pub function: Option<String>,
}Expand description
Source code location hint
NOTE: This is currently a placeholder/reserved feature. It is non-functional
because stylusTracer does not provide PC offsets.
Fields§
§file: String§line: Option<u32>§column: Option<u32>§function: Option<String>Trait Implementations§
Source§impl Clone for SourceHint
impl Clone for SourceHint
Source§fn clone(&self) -> SourceHint
fn clone(&self) -> SourceHint
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 SourceHint
impl Debug for SourceHint
Source§impl<'de> Deserialize<'de> for SourceHint
impl<'de> Deserialize<'de> for SourceHint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SourceHint
impl RefUnwindSafe for SourceHint
impl Send for SourceHint
impl Sync for SourceHint
impl Unpin for SourceHint
impl UnsafeUnpin for SourceHint
impl UnwindSafe for SourceHint
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