pub enum ImportBehavior {
CallsImport,
NoImport,
}Expand description
Whether the module’s import method is called after loading.
Variants§
CallsImport
The module’s import method is called (as with use).
NoImport
No import call is made (as with require).
Trait Implementations§
Source§impl Clone for ImportBehavior
impl Clone for ImportBehavior
Source§fn clone(&self) -> ImportBehavior
fn clone(&self) -> ImportBehavior
Returns a duplicate 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 ImportBehavior
impl Debug for ImportBehavior
Source§impl PartialEq for ImportBehavior
impl PartialEq for ImportBehavior
impl Copy for ImportBehavior
impl Eq for ImportBehavior
impl StructuralPartialEq for ImportBehavior
Auto Trait Implementations§
impl Freeze for ImportBehavior
impl RefUnwindSafe for ImportBehavior
impl Send for ImportBehavior
impl Sync for ImportBehavior
impl Unpin for ImportBehavior
impl UnsafeUnpin for ImportBehavior
impl UnwindSafe for ImportBehavior
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