pub struct JVariable { /* private fields */ }
Implementations§
Source§impl JVariable
impl JVariable
pub fn new( name: &str, jtype: JType, access: JAccessModifier, jfinal: bool, jstatic: bool, ) -> Self
pub fn private(name: &str, jtype: JType) -> Self
pub fn name(&self) -> &String
pub fn jtype(&self) -> &JType
pub fn access(&self) -> &JAccessModifier
pub fn is_final(&self) -> bool
pub fn is_static(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JVariable
impl RefUnwindSafe for JVariable
impl Send for JVariable
impl Sync for JVariable
impl Unpin for JVariable
impl UnwindSafe for JVariable
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