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
sourceimpl Clone for ImportAssertion
impl Clone for ImportAssertion
sourcefn clone(&self) -> ImportAssertion
fn clone(&self) -> ImportAssertion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ImportAssertion
impl Debug for ImportAssertion
sourceimpl PartialEq<ImportAssertion> for ImportAssertion
impl PartialEq<ImportAssertion> for ImportAssertion
sourcefn eq(&self, other: &ImportAssertion) -> bool
fn eq(&self, other: &ImportAssertion) -> bool
impl Eq for ImportAssertion
impl StructuralEq for ImportAssertion
impl StructuralPartialEq for ImportAssertion
Auto Trait Implementations
impl RefUnwindSafe for ImportAssertion
impl Send for ImportAssertion
impl Sync for ImportAssertion
impl Unpin for ImportAssertion
impl UnwindSafe for ImportAssertion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more