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 for ImportAssertion
impl PartialEq 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 ==
.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§
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