pub struct ImportDeclData {
pub modifiers: Option<NodeList>,
pub import_clause: NodeIndex,
pub module_specifier: NodeIndex,
pub attributes: NodeIndex,
}Expand description
Data for import declarations
Fields§
§modifiers: Option<NodeList>§import_clause: NodeIndex§module_specifier: NodeIndex§attributes: NodeIndexTrait Implementations§
Source§impl Clone for ImportDeclData
impl Clone for ImportDeclData
Source§fn clone(&self) -> ImportDeclData
fn clone(&self) -> ImportDeclData
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 ImportDeclData
impl Debug for ImportDeclData
Source§impl<'de> Deserialize<'de> for ImportDeclData
impl<'de> Deserialize<'de> for ImportDeclData
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 ImportDeclData
impl RefUnwindSafe for ImportDeclData
impl Send for ImportDeclData
impl Sync for ImportDeclData
impl Unpin for ImportDeclData
impl UnsafeUnpin for ImportDeclData
impl UnwindSafe for ImportDeclData
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