Struct xswag_syntax_java::ast::item::Method [] [src]

pub struct Method {
    pub vis: Visibility,
    pub name: Ident,
    pub ret_ty: Type,
    pub static_: bool,
    pub final_: bool,
    pub strictfp: bool,
    pub abstract_: bool,
    pub native: bool,
    pub synchronized: bool,
    pub default: bool,
    pub params: Vec<FormalParameter>,
    pub block: Option<Block>,
}

Fields

vis: Visibility name: Ident ret_ty: Type static_: bool final_: bool strictfp: bool abstract_: bool native: bool synchronized: bool default: bool params: Vec<FormalParameter> block: Option<Block>

Trait Implementations

impl Clone for Method
[src]

fn clone(&self) -> Method

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Method
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.