Enum deno_graph::ImportAttribute
source · pub enum ImportAttribute {
Unknown,
Known(String),
}
Variants§
Unknown
The value of this attribute could not be statically analyzed.
Known(String)
The value of this attribute is a statically analyzed string.
Trait Implementations§
source§impl Clone for ImportAttribute
impl Clone for ImportAttribute
source§fn clone(&self) -> ImportAttribute
fn clone(&self) -> ImportAttribute
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 ImportAttribute
impl Debug for ImportAttribute
source§impl<'de> Deserialize<'de> for ImportAttribute
impl<'de> Deserialize<'de> for ImportAttribute
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ImportAttribute, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ImportAttribute, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ImportAttribute
impl PartialEq for ImportAttribute
source§fn eq(&self, other: &ImportAttribute) -> bool
fn eq(&self, other: &ImportAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportAttribute
impl Serialize for ImportAttribute
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ImportAttribute
impl StructuralPartialEq for ImportAttribute
Auto Trait Implementations§
impl RefUnwindSafe for ImportAttribute
impl Send for ImportAttribute
impl Sync for ImportAttribute
impl Unpin for ImportAttribute
impl UnwindSafe for ImportAttribute
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.