pub struct CallFrame { /* private fields */ }Available on crate feature
Runtime only.Expand description
Stack entry for runtime errors and assertions.
Implementations§
Source§impl CallFrame
impl CallFrame
pub fn builder() -> CallFrameBuilder
Sourcepub fn function_name(&self) -> &str
pub fn function_name(&self) -> &str
JavaScript function name.
Sourcepub fn line_number(&self) -> u32
pub fn line_number(&self) -> u32
JavaScript script line number (0-based).
Sourcepub fn column_number(&self) -> u32
pub fn column_number(&self) -> u32
JavaScript script column number (0-based).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CallFrame
impl<'de> Deserialize<'de> for CallFrame
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 CallFrame
impl RefUnwindSafe for CallFrame
impl Send for CallFrame
impl Sync for CallFrame
impl Unpin for CallFrame
impl UnwindSafe for CallFrame
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