pub struct JavaEnumConstant {
pub name: String,
pub args: Vec<JavaExpr>,
pub annotations: Vec<String>,
}Expand description
A Java enum constant.
Fields§
§name: String§args: Vec<JavaExpr>§annotations: Vec<String>Trait Implementations§
Source§impl Clone for JavaEnumConstant
impl Clone for JavaEnumConstant
Source§fn clone(&self) -> JavaEnumConstant
fn clone(&self) -> JavaEnumConstant
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 JavaEnumConstant
impl RefUnwindSafe for JavaEnumConstant
impl Send for JavaEnumConstant
impl Sync for JavaEnumConstant
impl Unpin for JavaEnumConstant
impl UnsafeUnpin for JavaEnumConstant
impl UnwindSafe for JavaEnumConstant
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