pub struct JavaModule {
pub package: String,
pub imports: Vec<String>,
pub classes: Vec<JavaClass>,
pub interfaces: Vec<SealedInterface>,
pub records: Vec<JavaRecord>,
pub enums: Vec<JavaEnum>,
}Expand description
A complete Java compilation unit (one .java file).
Fields§
§package: String§imports: Vec<String>§classes: Vec<JavaClass>§interfaces: Vec<SealedInterface>§records: Vec<JavaRecord>§enums: Vec<JavaEnum>Implementations§
Trait Implementations§
Source§impl Clone for JavaModule
impl Clone for JavaModule
Source§fn clone(&self) -> JavaModule
fn clone(&self) -> JavaModule
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 moreAuto Trait Implementations§
impl Freeze for JavaModule
impl RefUnwindSafe for JavaModule
impl Send for JavaModule
impl Sync for JavaModule
impl Unpin for JavaModule
impl UnsafeUnpin for JavaModule
impl UnwindSafe for JavaModule
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