pub struct Param {
pub mods: String,
pub ty: JType,
pub varargs: bool,
pub name: String,
}Expand description
方法/构造器参数。
Fields§
§mods: Stringfinal / 注解等原文(可为空串)。
ty: JType§varargs: boolint... args
name: StringTrait Implementations§
impl StructuralPartialEq for Param
Auto Trait Implementations§
impl Freeze for Param
impl RefUnwindSafe for Param
impl Send for Param
impl Sync for Param
impl Unpin for Param
impl UnsafeUnpin for Param
impl UnwindSafe for Param
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