pub struct JavaUnit {
pub class: &'static str,
pub text: String,
}Expand description
One Java compilation unit of a generated Java text.
Fields§
§class: &'static strThe public top-level class the unit declares, which is also the
stem of the file it has to be written to (ZdTypes,
ZdServices, ZdCodec).
text: StringThe unit’s text, ending in a newline.
Trait Implementations§
impl Eq for JavaUnit
impl StructuralPartialEq for JavaUnit
Auto Trait Implementations§
impl Freeze for JavaUnit
impl RefUnwindSafe for JavaUnit
impl Send for JavaUnit
impl Sync for JavaUnit
impl Unpin for JavaUnit
impl UnsafeUnpin for JavaUnit
impl UnwindSafe for JavaUnit
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