pub struct IstanbulFunction {
pub name: String,
pub decl: IstanbulRange,
pub loc: IstanbulRange,
pub line: u32,
}Expand description
Istanbul function descriptor.
Fields§
§name: StringSource-as-written function name (matches V8’s functionName).
decl: IstanbulRangeDeclaration position. Matches Istanbul’s decl.
loc: IstanbulRangeFull body position. Matches Istanbul’s loc.
line: u321-indexed line of the function declaration’s start.
Trait Implementations§
Source§impl Clone for IstanbulFunction
impl Clone for IstanbulFunction
Source§fn clone(&self) -> IstanbulFunction
fn clone(&self) -> IstanbulFunction
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 IstanbulFunction
impl Debug for IstanbulFunction
Source§impl<'de> Deserialize<'de> for IstanbulFunction
impl<'de> Deserialize<'de> for IstanbulFunction
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 IstanbulFunction
impl RefUnwindSafe for IstanbulFunction
impl Send for IstanbulFunction
impl Sync for IstanbulFunction
impl Unpin for IstanbulFunction
impl UnsafeUnpin for IstanbulFunction
impl UnwindSafe for IstanbulFunction
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