Struct witx::parser::ModuleImportSyntax
source · [−]pub struct ModuleImportSyntax<'a> {
pub name: &'a str,
pub name_loc: Span,
pub type_: ImportTypeSyntax,
}
Fields
name: &'a str
name_loc: Span
type_: ImportTypeSyntax
Trait Implementations
sourceimpl<'a> Clone for ModuleImportSyntax<'a>
impl<'a> Clone for ModuleImportSyntax<'a>
sourcefn clone(&self) -> ModuleImportSyntax<'a>
fn clone(&self) -> ModuleImportSyntax<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for ModuleImportSyntax<'a>
impl<'a> Debug for ModuleImportSyntax<'a>
sourceimpl<'a> Parse<'a> for ModuleImportSyntax<'a>
impl<'a> Parse<'a> for ModuleImportSyntax<'a>
sourceimpl PartialEq<ModuleImportSyntax<'_>> for ModuleImportSyntax<'_>
impl PartialEq<ModuleImportSyntax<'_>> for ModuleImportSyntax<'_>
impl Eq for ModuleImportSyntax<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ModuleImportSyntax<'a>
impl<'a> Send for ModuleImportSyntax<'a>
impl<'a> Sync for ModuleImportSyntax<'a>
impl<'a> Unpin for ModuleImportSyntax<'a>
impl<'a> UnwindSafe for ModuleImportSyntax<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more