Struct java_asm::node::element::ModuleNode
source · pub struct ModuleNode {
pub name: Rc<String>,
pub access: u16,
pub version: Option<Rc<String>>,
pub main_class: Option<Rc<String>>,
pub packages: Vec<Rc<String>>,
pub requires: Vec<ModuleRequireNode>,
pub exports: Vec<ModuleExportNode>,
pub opens: Vec<ModuleOpenNode>,
pub uses: Vec<Rc<InternalName>>,
pub provides: Vec<ModuleProvides>,
}Fields§
§name: Rc<String>The name of the module.
access: u16The access flags of the module, valid values are Opcodes::ACC_OPEN, Opcodes::ACC_SYNTHETIC, Opcodes::ACC_MANDATED
version: Option<Rc<String>>The version of the module. May be None.
main_class: Option<Rc<String>>The main class of the module. May be None.
packages: Vec<Rc<String>>The packages of the module.
requires: Vec<ModuleRequireNode>The dependencies of this module.
exports: Vec<ModuleExportNode>The packages exported by this module
opens: Vec<ModuleOpenNode>The packages opened by this module.
uses: Vec<Rc<InternalName>>The internal names of the services used by this module (see Type::get_internal_name).
provides: Vec<ModuleProvides>Trait Implementations§
source§impl Clone for ModuleNode
impl Clone for ModuleNode
source§fn clone(&self) -> ModuleNode
fn clone(&self) -> ModuleNode
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ModuleNode
impl RefUnwindSafe for ModuleNode
impl !Send for ModuleNode
impl !Sync for ModuleNode
impl Unpin for ModuleNode
impl UnwindSafe for ModuleNode
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