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

pub struct Interface {
    pub name: Ident,
    pub vis: Visibility,
    pub static_: bool,
    pub strictfp: bool,
    pub extends: Vec<Path>,
    pub types: Vec<TypeDef>,
    pub constants: Vec<Field>,
    pub methods: Vec<Method>,
}

Fields

name: Ident vis: Visibility static_: bool strictfp: bool extends: Vec<Path> types: Vec<TypeDef> constants: Vec<Field> methods: Vec<Method>

Trait Implementations

impl Clone for Interface
[src]

fn clone(&self) -> Interface

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 Interface
[src]

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

Formats the value using the given formatter.

impl ItemExt for Interface
[src]

fn ident(&self) -> Option<&Ident>

identifier of the item, if any

fn vis(&self) -> Visibility

fn static_(&self) -> Option<bool>