pub struct ImportDirective {
pub path: String,
pub alias: Option<String>,
pub symbols: Option<Vec<ImportSymbol>>,
}
Fields§
§path: String
§alias: Option<String>
§symbols: Option<Vec<ImportSymbol>>
Trait Implementations§
Source§impl Clone for ImportDirective
impl Clone for ImportDirective
Source§fn clone(&self) -> ImportDirective
fn clone(&self) -> ImportDirective
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 ImportDirective
impl Debug for ImportDirective
Source§impl PartialEq for ImportDirective
impl PartialEq for ImportDirective
impl StructuralPartialEq for ImportDirective
Auto Trait Implementations§
impl Freeze for ImportDirective
impl RefUnwindSafe for ImportDirective
impl Send for ImportDirective
impl Sync for ImportDirective
impl Unpin for ImportDirective
impl UnwindSafe for ImportDirective
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