pub struct ModuleFieldImport { /* private fields */ }Implementations§
Source§impl ModuleFieldImport
impl ModuleFieldImport
pub fn l_paren_token(&self) -> Option<SyntaxToken>
pub fn keyword(&self) -> Option<SyntaxToken>
pub fn module_name(&self) -> Option<ModuleName>
pub fn name(&self) -> Option<Name>
pub fn import_items(&self) -> AstChildren<ImportItem> ⓘ
pub fn extern_type(&self) -> Option<ExternType>
pub fn r_paren_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for ModuleFieldImport
impl AstNode for ModuleFieldImport
Source§impl Clone for ModuleFieldImport
impl Clone for ModuleFieldImport
Source§fn clone(&self) -> ModuleFieldImport
fn clone(&self) -> ModuleFieldImport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModuleFieldImport
impl Debug for ModuleFieldImport
impl Eq for ModuleFieldImport
Source§impl Hash for ModuleFieldImport
impl Hash for ModuleFieldImport
Source§impl PartialEq for ModuleFieldImport
impl PartialEq for ModuleFieldImport
impl StructuralPartialEq for ModuleFieldImport
Auto Trait Implementations§
impl !Send for ModuleFieldImport
impl !Sync for ModuleFieldImport
impl Freeze for ModuleFieldImport
impl RefUnwindSafe for ModuleFieldImport
impl Unpin for ModuleFieldImport
impl UnsafeUnpin for ModuleFieldImport
impl UnwindSafe for ModuleFieldImport
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