Struct deno_graph::DynamicDependencyDescriptor
source · pub struct DynamicDependencyDescriptor {
pub leading_comments: Vec<Comment>,
pub range: PositionRange,
pub argument: DynamicArgument,
pub argument_range: PositionRange,
pub import_attributes: ImportAttributes,
}
Fields§
§leading_comments: Vec<Comment>
Any leading comments associated with the dependency. This is used for further processing of supported pragma that impact the dependency.
range: PositionRange
The range of the dynamic import.
argument: DynamicArgument
The argument associated with the dynamic import.
argument_range: PositionRange
The range of the argument.
import_attributes: ImportAttributes
Import attributes for this dependency.
Trait Implementations§
source§impl Clone for DynamicDependencyDescriptor
impl Clone for DynamicDependencyDescriptor
source§fn clone(&self) -> DynamicDependencyDescriptor
fn clone(&self) -> DynamicDependencyDescriptor
Returns a copy 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 DynamicDependencyDescriptor
impl Debug for DynamicDependencyDescriptor
source§impl<'de> Deserialize<'de> for DynamicDependencyDescriptor
impl<'de> Deserialize<'de> for DynamicDependencyDescriptor
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
source§impl From<DynamicDependencyDescriptor> for DependencyDescriptor
impl From<DynamicDependencyDescriptor> for DependencyDescriptor
source§fn from(descriptor: DynamicDependencyDescriptor) -> Self
fn from(descriptor: DynamicDependencyDescriptor) -> Self
Converts to this type from the input type.
source§impl PartialEq for DynamicDependencyDescriptor
impl PartialEq for DynamicDependencyDescriptor
source§fn eq(&self, other: &DynamicDependencyDescriptor) -> bool
fn eq(&self, other: &DynamicDependencyDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DynamicDependencyDescriptor
impl StructuralPartialEq for DynamicDependencyDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for DynamicDependencyDescriptor
impl Send for DynamicDependencyDescriptor
impl Sync for DynamicDependencyDescriptor
impl Unpin for DynamicDependencyDescriptor
impl UnwindSafe for DynamicDependencyDescriptor
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.