pub struct SourceBundle {
pub source_map: SourceMap,
pub root_id: SourceId,
pub source_order: Vec<SourceId>,
pub include_edges: Vec<IncludeEdge>,
}Expand description
One loaded root script plus all transitively discovered include files.
Fields§
§source_map: SourceMapAll loaded source files.
root_id: SourceIdThe root script file requested by the caller.
source_order: Vec<SourceId>Source ids in first-load order.
include_edges: Vec<IncludeEdge>Include relationships observed during scanning.
Trait Implementations§
Source§impl Clone for SourceBundle
impl Clone for SourceBundle
Source§fn clone(&self) -> SourceBundle
fn clone(&self) -> SourceBundle
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 SourceBundle
impl Debug for SourceBundle
Source§impl PartialEq for SourceBundle
impl PartialEq for SourceBundle
impl Eq for SourceBundle
impl StructuralPartialEq for SourceBundle
Auto Trait Implementations§
impl Freeze for SourceBundle
impl RefUnwindSafe for SourceBundle
impl Send for SourceBundle
impl Sync for SourceBundle
impl Unpin for SourceBundle
impl UnsafeUnpin for SourceBundle
impl UnwindSafe for SourceBundle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.