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

pub struct Class {
    pub name: Ident,
    pub vis: Visibility,
    pub members: Vec<ClassMember>,
}

Fields

name: Ident vis: Visibility members: Vec<ClassMember>

Trait Implementations

impl Clone for Class
[src]

fn clone(&self) -> Class

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

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

Formats the value using the given formatter.

impl ItemExt for Class
[src]

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

identifier of the item, if any

fn vis(&self) -> Visibility

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