pub struct ImportInfo {
pub module: String,
pub items: Vec<String>,
pub alias: Option<String>,
pub is_external: bool,
}
Expand description
导入信息
Fields§
§module: String
§items: Vec<String>
§alias: Option<String>
§is_external: bool
Trait Implementations§
Source§impl Clone for ImportInfo
impl Clone for ImportInfo
Source§fn clone(&self) -> ImportInfo
fn clone(&self) -> ImportInfo
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 moreSource§impl Debug for ImportInfo
impl Debug for ImportInfo
Auto Trait Implementations§
impl Freeze for ImportInfo
impl RefUnwindSafe for ImportInfo
impl Send for ImportInfo
impl Sync for ImportInfo
impl Unpin for ImportInfo
impl UnwindSafe for ImportInfo
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