pub struct JMethod { /* private fields */ }
Implementations§
Source§impl JMethod
impl JMethod
pub fn new( name: String, src: String, args: Vec<(String, JType)>, return_type: JType, access: JAccessModifier, jfinal: bool, jstatic: bool, ) -> Self
pub fn name(&self) -> &String
pub fn src(&self) -> &String
pub fn args(&self) -> &Vec<(String, JType)>
pub fn return_type(&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 JMethod
impl RefUnwindSafe for JMethod
impl Send for JMethod
impl Sync for JMethod
impl Unpin for JMethod
impl UnwindSafe for JMethod
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