Struct swc_ecma_dep_graph::DependencyDescriptor [−][src]
Fields
kind: DependencyKind
is_dynamic: bool
A flag indicating if the import is dynamic or not.
leading_comments: Vec<Comment>
Any leading comments associated with the dependency. This is used for further processing of supported pragma that impact the dependency.
line: usize
The location of the import/export statement.
col: usize
specifier: JsWord
The text specifier associated with the import/export statement.
specifier_line: usize
The location of the specifier.
specifier_col: usize
import_assertions: HashMap<String, String>
Import assertions for this dependency. NOTE: it’s filled only for static imports and exports.
Trait Implementations
impl Clone for DependencyDescriptor
[src]
fn clone(&self) -> DependencyDescriptor
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DependencyDescriptor
[src]
impl Eq for DependencyDescriptor
[src]
impl PartialEq<DependencyDescriptor> for DependencyDescriptor
[src]
fn eq(&self, other: &DependencyDescriptor) -> bool
[src]
fn ne(&self, other: &DependencyDescriptor) -> bool
[src]
impl StructuralEq for DependencyDescriptor
[src]
impl StructuralPartialEq for DependencyDescriptor
[src]
Auto Trait Implementations
impl RefUnwindSafe for DependencyDescriptor
impl Send for DependencyDescriptor
impl Sync for DependencyDescriptor
impl Unpin for DependencyDescriptor
impl UnwindSafe for DependencyDescriptor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Node for T where
T: Any + ?Sized,
[src]
T: Any + ?Sized,
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,