pub struct ModuleEntry {
pub name: String,
pub types: Vec<TypeDef>,
}Expand description
Nested module (<module name="…"> — Spec §7.3.3.4.1).
Fields§
§name: StringModule name.
types: Vec<TypeDef>Nested type definitions.
Trait Implementations§
Source§impl Clone for ModuleEntry
impl Clone for ModuleEntry
Source§fn clone(&self) -> ModuleEntry
fn clone(&self) -> ModuleEntry
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 ModuleEntry
impl Debug for ModuleEntry
Source§impl Default for ModuleEntry
impl Default for ModuleEntry
Source§fn default() -> ModuleEntry
fn default() -> ModuleEntry
Returns the “default value” for a type. Read more
impl Eq for ModuleEntry
Source§impl PartialEq for ModuleEntry
impl PartialEq for ModuleEntry
Source§fn eq(&self, other: &ModuleEntry) -> bool
fn eq(&self, other: &ModuleEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModuleEntry
Auto Trait Implementations§
impl Freeze for ModuleEntry
impl RefUnwindSafe for ModuleEntry
impl Send for ModuleEntry
impl Sync for ModuleEntry
impl Unpin for ModuleEntry
impl UnsafeUnpin for ModuleEntry
impl UnwindSafe for ModuleEntry
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