pub struct ImportDeclaration {
pub specifiers: Vec<ImportSpecifier>,
pub source: String,
}
Expand description
Import declaration
Fields§
§specifiers: Vec<ImportSpecifier>
§source: String
Trait Implementations§
Source§impl Clone for ImportDeclaration
impl Clone for ImportDeclaration
Source§fn clone(&self) -> ImportDeclaration
fn clone(&self) -> ImportDeclaration
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 ImportDeclaration
impl Debug for ImportDeclaration
Source§impl<'de> Deserialize<'de> for ImportDeclaration
impl<'de> Deserialize<'de> for ImportDeclaration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ImportDeclaration
impl RefUnwindSafe for ImportDeclaration
impl Send for ImportDeclaration
impl Sync for ImportDeclaration
impl Unpin for ImportDeclaration
impl UnwindSafe for ImportDeclaration
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