Struct rusty_v8::StackTrace [−][src]
#[repr(C)]pub struct StackTrace(_);
Representation of a JavaScript stack trace. The information collected is a snapshot of the execution stack and the information remains valid after execution continues.
Implementations
impl StackTrace
[src]
impl StackTrace
[src]pub fn get_frame_count(&self) -> usize
[src]
pub fn get_frame_count(&self) -> usize
[src]Returns the number of StackFrames.
pub fn get_frame<'s>(
&self,
scope: &mut HandleScope<'s>,
index: usize
) -> Option<Local<'s, StackFrame>>
[src]
pub fn get_frame<'s>(
&self,
scope: &mut HandleScope<'s>,
index: usize
) -> Option<Local<'s, StackFrame>>
[src]Returns a StackFrame at a particular index.
Methods from Deref<Target = Data>
pub fn get_hash(&self) -> int
[src]
pub fn get_hash(&self) -> int
[src]Returns the V8 hash value for this value. The current implementation uses a hidden property to store the identity hash on some object types.
The return value will never be 0. Also, it is not guaranteed to be unique.
pub fn is_private(&self) -> bool
[src]
pub fn is_private(&self) -> bool
[src]Returns true if this data is a Private
.
pub fn is_object_template(&self) -> bool
[src]
pub fn is_object_template(&self) -> bool
[src]Returns true if this data is an ObjectTemplate
pub fn is_function_template(&self) -> bool
[src]
pub fn is_function_template(&self) -> bool
[src]Returns true if this data is a FunctionTemplate.
Trait Implementations
impl Debug for StackTrace
[src]
impl Debug for StackTrace
[src]impl Deref for StackTrace
[src]
impl Deref for StackTrace
[src]impl Hash for StackTrace
[src]
impl Hash for StackTrace
[src]impl<'s> PartialEq<Data> for StackTrace
[src]
impl<'s> PartialEq<Data> for StackTrace
[src]impl<'s> PartialEq<StackTrace> for Data
[src]
impl<'s> PartialEq<StackTrace> for Data
[src]impl<'s> PartialEq<StackTrace> for StackTrace
[src]
impl<'s> PartialEq<StackTrace> for StackTrace
[src]