pub struct ImportStatement {
pub raw_path: String,
pub parent_dirs: usize,
pub alias: Option<String>,
pub is_stdlib: bool,
}Fields§
§raw_path: String§parent_dirs: usize§alias: Option<String>§is_stdlib: boolImplementations§
Trait Implementations§
Source§impl Clone for ImportStatement
impl Clone for ImportStatement
Source§fn clone(&self) -> ImportStatement
fn clone(&self) -> ImportStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ImportStatement
impl Debug for ImportStatement
impl Eq for ImportStatement
Source§impl From<&ImportStatement> for ImportInfo
impl From<&ImportStatement> for ImportInfo
Source§fn from(stmt: &ImportStatement) -> Self
fn from(stmt: &ImportStatement) -> Self
Converts to this type from the input type.
Source§impl Hash for ImportStatement
impl Hash for ImportStatement
Source§impl PartialEq for ImportStatement
impl PartialEq for ImportStatement
impl StructuralPartialEq for ImportStatement
Auto Trait Implementations§
impl Freeze for ImportStatement
impl RefUnwindSafe for ImportStatement
impl Send for ImportStatement
impl Sync for ImportStatement
impl Unpin for ImportStatement
impl UnsafeUnpin for ImportStatement
impl UnwindSafe for ImportStatement
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