pub enum ImportedItems {
Parts(Option<Vec<ImportExportPart<ImportDeclaration>>>),
All {
under: VariableIdentifier,
},
}Expand description
Side effects is represented under the Parts variant where the vector is empty
Variants§
Trait Implementations§
Source§impl Clone for ImportedItems
impl Clone for ImportedItems
Source§fn clone(&self) -> ImportedItems
fn clone(&self) -> ImportedItems
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 ImportedItems
impl Debug for ImportedItems
Source§impl PartialEq for ImportedItems
impl PartialEq for ImportedItems
Source§impl SelfRustTokenize for ImportedItems
impl SelfRustTokenize for ImportedItems
fn append_to_token_stream(&self, token_stream: &mut TokenStream)
Source§fn to_tokens(&self) -> TokenStream
fn to_tokens(&self) -> TokenStream
Returns the tokens used to construct self
Source§impl Serialize for ImportedItems
impl Serialize for ImportedItems
Source§impl Visitable for ImportedItems
impl Visitable for ImportedItems
fn visit<TData>( &self, visitors: &mut (impl VisitorReceiver<TData> + ?Sized), data: &mut TData, options: &VisitOptions, chain: &mut Annex<'_, Chain>, )
fn visit_mut<TData>( &mut self, visitors: &mut (impl VisitorMutReceiver<TData> + ?Sized), data: &mut TData, options: &VisitOptions, chain: &mut Annex<'_, Chain>, )
impl StructuralPartialEq for ImportedItems
Auto Trait Implementations§
impl Freeze for ImportedItems
impl RefUnwindSafe for ImportedItems
impl Send for ImportedItems
impl Sync for ImportedItems
impl Unpin for ImportedItems
impl UnsafeUnpin for ImportedItems
impl UnwindSafe for ImportedItems
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