pub struct ImportItem {
pub name: String,
pub alias: Option<String>,
}Expand description
an imported name, possibly renamed
Fields§
§name: Stringthe name
alias: Option<String>the alias
Trait Implementations§
Source§impl Clone for ImportItem
impl Clone for ImportItem
Auto Trait Implementations§
impl Forget for ImportItem
impl Freeze for ImportItem
impl Move for ImportItem
impl RefUnwindSafe for ImportItem
impl Send for ImportItem
impl Sync for ImportItem
impl Unpin for ImportItem
impl UnsafeUnpin for ImportItem
impl UnwindSafe for ImportItem
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