pub struct HermesFunctionMap {
pub names: Vec<String>,
pub mappings: Vec<HermesScopeOffset>,
}Expand description
Function map for a single source file. Contains function names and their scope boundaries.
Fields§
§names: Vec<String>Function names referenced by scope offsets.
mappings: Vec<HermesScopeOffset>Scope boundaries, sorted by (line, column).
Trait Implementations§
Source§impl Clone for HermesFunctionMap
impl Clone for HermesFunctionMap
Source§fn clone(&self) -> HermesFunctionMap
fn clone(&self) -> HermesFunctionMap
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 moreAuto Trait Implementations§
impl Freeze for HermesFunctionMap
impl RefUnwindSafe for HermesFunctionMap
impl Send for HermesFunctionMap
impl Sync for HermesFunctionMap
impl Unpin for HermesFunctionMap
impl UnsafeUnpin for HermesFunctionMap
impl UnwindSafe for HermesFunctionMap
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