pub enum ImportAssertion {
Unknown,
Known(String),
}
Variants§
Unknown
The value of this assertion could not be statically analyzed.
Known(String)
The value of this assertion is a statically analyzed string.
Trait Implementations§
source§impl Clone for ImportAssertion
impl Clone for ImportAssertion
source§fn clone(&self) -> ImportAssertion
fn clone(&self) -> ImportAssertion
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 ImportAssertion
impl Debug for ImportAssertion
source§impl PartialEq<ImportAssertion> for ImportAssertion
impl PartialEq<ImportAssertion> for ImportAssertion
source§fn eq(&self, other: &ImportAssertion) -> bool
fn eq(&self, other: &ImportAssertion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.