pub struct SimpleImport {
pub module: String,
pub line_number: usize,
}Expand description
Simple import information
Fields§
§module: StringThe module being imported
line_number: usizeLine number where the import appears
Trait Implementations§
Source§impl Clone for SimpleImport
impl Clone for SimpleImport
Source§fn clone(&self) -> SimpleImport
fn clone(&self) -> SimpleImport
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 moreAuto Trait Implementations§
impl Freeze for SimpleImport
impl RefUnwindSafe for SimpleImport
impl Send for SimpleImport
impl Sync for SimpleImport
impl Unpin for SimpleImport
impl UnwindSafe for SimpleImport
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