pub struct ImportRef {
pub local: String,
pub source: String,
}Fields§
§local: StringName bound locally (rightmost segment or alias).
source: StringModule/path text as written (“./util”, “foo::bar”, “pkg.mod”).
Trait Implementations§
impl StructuralPartialEq for ImportRef
Auto Trait Implementations§
impl Freeze for ImportRef
impl RefUnwindSafe for ImportRef
impl Send for ImportRef
impl Sync for ImportRef
impl Unpin for ImportRef
impl UnsafeUnpin for ImportRef
impl UnwindSafe for ImportRef
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