pub struct ImportStatement {
pub path: Path,
pub alias: Option<Identifier>,
pub visibility: Visibility,
}
Fields§
§path: Path
§alias: Option<Identifier>
§visibility: Visibility
Implementations§
Source§impl ImportStatement
impl ImportStatement
pub fn is_exported(&self) -> bool
Trait Implementations§
Source§impl PrettyPrint for ImportStatement
impl PrettyPrint for ImportStatement
fn pretty_print(&self, interner: &SymbolInterner, indentation: usize) -> String
Auto Trait Implementations§
impl Freeze for ImportStatement
impl RefUnwindSafe for ImportStatement
impl Send for ImportStatement
impl Sync for ImportStatement
impl Unpin 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