pub struct ModuleAttribute {
pub module_name_index: u16,
pub module_flags: u16,
pub module_version_index: u16,
pub requires: Vec<ModuleRequire>,
pub exports: Vec<ModuleExport>,
pub opens: Vec<ModuleOpen>,
pub uses_index: Vec<u16>,
pub provides: Vec<ModuleProvide>,
}Fields§
§module_name_index: u16§module_flags: u16§module_version_index: u16§requires: Vec<ModuleRequire>§exports: Vec<ModuleExport>§opens: Vec<ModuleOpen>§uses_index: Vec<u16>§provides: Vec<ModuleProvide>Trait Implementations§
Source§impl Clone for ModuleAttribute
impl Clone for ModuleAttribute
Source§fn clone(&self) -> ModuleAttribute
fn clone(&self) -> ModuleAttribute
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 ModuleAttribute
impl Debug for ModuleAttribute
Source§impl PartialEq for ModuleAttribute
impl PartialEq for ModuleAttribute
impl Eq for ModuleAttribute
impl StructuralPartialEq for ModuleAttribute
Auto Trait Implementations§
impl Freeze for ModuleAttribute
impl RefUnwindSafe for ModuleAttribute
impl Send for ModuleAttribute
impl Sync for ModuleAttribute
impl Unpin for ModuleAttribute
impl UnsafeUnpin for ModuleAttribute
impl UnwindSafe for ModuleAttribute
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