pub struct ModuleExport {
pub package_index: u16,
pub flags: u16,
pub targets: Vec<u16>,
}Expand description
One exports or opens directive in a Module attribute.
Fields§
§package_index: u16Package constant index.
flags: u16Raw directive flags.
targets: Vec<u16>Target module indices in encoded order.
Trait Implementations§
Source§impl Clone for ModuleExport
impl Clone for ModuleExport
Source§fn clone(&self) -> ModuleExport
fn clone(&self) -> ModuleExport
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 ModuleExport
impl Debug for ModuleExport
impl Eq for ModuleExport
Source§impl PartialEq for ModuleExport
impl PartialEq for ModuleExport
impl StructuralPartialEq for ModuleExport
Auto Trait Implementations§
impl Freeze for ModuleExport
impl RefUnwindSafe for ModuleExport
impl Send for ModuleExport
impl Sync for ModuleExport
impl Unpin for ModuleExport
impl UnsafeUnpin for ModuleExport
impl UnwindSafe for ModuleExport
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