pub struct ImportStatement {
pub path: String,
pub items: ImportItems,
pub alias: Option<String>,
}
Fields§
§path: String
§items: ImportItems
§alias: Option<String>
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 · 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 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