pub struct ImportStmt {
pub names: Vec<String>,
pub path: String,
pub span: Span,
}Expand description
Import statement: import { Name1, Name2 } from "./path.gnt"
Fields§
§names: Vec<String>§path: String§span: SpanTrait Implementations§
Source§impl Clone for ImportStmt
impl Clone for ImportStmt
Source§fn clone(&self) -> ImportStmt
fn clone(&self) -> ImportStmt
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 ImportStmt
impl Debug for ImportStmt
Source§impl PartialEq for ImportStmt
impl PartialEq for ImportStmt
impl StructuralPartialEq for ImportStmt
Auto Trait Implementations§
impl Freeze for ImportStmt
impl RefUnwindSafe for ImportStmt
impl Send for ImportStmt
impl Sync for ImportStmt
impl Unpin for ImportStmt
impl UnwindSafe for ImportStmt
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