pub struct ScriptInput<'a> {
pub path: &'a str,
pub source: &'a str,
pub script: &'a ScriptCoverage,
}Expand description
Input bundle to normalize_script.
Fields§
§path: &'a strAbsolute path to the source file (already resolved from V8’s url).
source: &'a strFull source text used to convert byte offsets.
script: &'a ScriptCoverageV8 coverage entry for this script.
Auto Trait Implementations§
impl<'a> Freeze for ScriptInput<'a>
impl<'a> RefUnwindSafe for ScriptInput<'a>
impl<'a> Send for ScriptInput<'a>
impl<'a> Sync for ScriptInput<'a>
impl<'a> Unpin for ScriptInput<'a>
impl<'a> UnsafeUnpin for ScriptInput<'a>
impl<'a> UnwindSafe for ScriptInput<'a>
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