pub struct ModuleDepExt {
pub from: String,
pub to: String,
pub direct: bool,
}Expand description
A module dependency edge.
Fields§
§from: StringThe importing module name
to: StringThe imported module name
direct: boolWhether the import is direct or transitive
Implementations§
Trait Implementations§
Source§impl Clone for ModuleDepExt
impl Clone for ModuleDepExt
Source§fn clone(&self) -> ModuleDepExt
fn clone(&self) -> ModuleDepExt
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 moreAuto Trait Implementations§
impl Freeze for ModuleDepExt
impl RefUnwindSafe for ModuleDepExt
impl Send for ModuleDepExt
impl Sync for ModuleDepExt
impl Unpin for ModuleDepExt
impl UnsafeUnpin for ModuleDepExt
impl UnwindSafe for ModuleDepExt
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