pub struct Dependency {
pub target: String,
pub alias: Option<String>,
}Fields§
§target: StringThe located map name (dependency "x").
alias: Option<String>The as alias name; None = library import.
Trait Implementations§
Source§impl Clone for Dependency
impl Clone for Dependency
Auto Trait Implementations§
impl Forget for Dependency
impl Freeze for Dependency
impl Move for Dependency
impl RefUnwindSafe for Dependency
impl Send for Dependency
impl Sync for Dependency
impl Unpin for Dependency
impl UnsafeUnpin for Dependency
impl UnwindSafe for Dependency
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