pub enum EdgeTarget {
Local(ModuleId),
External,
}Expand description
A module dependency. External dependencies deliberately have no path or host identity.
Variants§
Trait Implementations§
Source§impl Clone for EdgeTarget
impl Clone for EdgeTarget
Source§fn clone(&self) -> EdgeTarget
fn clone(&self) -> EdgeTarget
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 moreimpl Copy for EdgeTarget
Source§impl Debug for EdgeTarget
impl Debug for EdgeTarget
impl Eq for EdgeTarget
Source§impl Hash for EdgeTarget
impl Hash for EdgeTarget
Source§impl PartialEq for EdgeTarget
impl PartialEq for EdgeTarget
impl StructuralPartialEq for EdgeTarget
Auto Trait Implementations§
impl Freeze for EdgeTarget
impl RefUnwindSafe for EdgeTarget
impl Send for EdgeTarget
impl Sync for EdgeTarget
impl Unpin for EdgeTarget
impl UnsafeUnpin for EdgeTarget
impl UnwindSafe for EdgeTarget
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