pub enum ImportDefType {
Module(String, String, Option<ComponentSelection>),
Library(String, String),
}Expand description
Types of import definition. Includes,
Module (e.g. import "file" ...), and Library (e.g. stdlib).
Variants§
Trait Implementations§
Source§impl Clone for ImportDefType
impl Clone for ImportDefType
Source§fn clone(&self) -> ImportDefType
fn clone(&self) -> ImportDefType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ImportDefType
impl RefUnwindSafe for ImportDefType
impl Send for ImportDefType
impl Sync for ImportDefType
impl Unpin for ImportDefType
impl UnsafeUnpin for ImportDefType
impl UnwindSafe for ImportDefType
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