pub struct ModuleEntry {
pub name: String,
pub types: Vec<TypeDef>,
}Expand description
Geschachteltes Modul (<module name="…"> — Spec §7.3.3.4.1).
Fields§
§name: StringModul-Name.
types: Vec<TypeDef>Geschachtelte Type-Definitionen.
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
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 Eq for ModuleEntry
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