pub struct ImportFrom {
pub span: Span,
pub module: Option<String>,
pub names: Vec<Alias>,
pub level: usize,
}
Fields§
§span: Span
§module: Option<String>
§names: Vec<Alias>
§level: usize
Trait Implementations§
Source§impl Clone for ImportFrom
impl Clone for ImportFrom
Source§fn clone(&self) -> ImportFrom
fn clone(&self) -> ImportFrom
Returns a copy 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 ImportFrom
impl RefUnwindSafe for ImportFrom
impl Send for ImportFrom
impl Sync for ImportFrom
impl Unpin for ImportFrom
impl UnwindSafe for ImportFrom
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