Struct cafebabe::ClassFile[][src]

pub struct ClassFile<'a> {
    pub major_version: u16,
    pub minor_version: u16,
    pub access_flags: ClassAccessFlags,
    pub this_class: Cow<'a, str>,
    pub super_class: Option<Cow<'a, str>>,
    pub interfaces: Vec<Cow<'a, str>>,
    pub fields: Vec<FieldInfo<'a>>,
    pub methods: Vec<MethodInfo<'a>>,
    pub attributes: Vec<AttributeInfo<'a>>,
    // some fields omitted
}

Fields

major_version: u16minor_version: u16access_flags: ClassAccessFlagsthis_class: Cow<'a, str>super_class: Option<Cow<'a, str>>interfaces: Vec<Cow<'a, str>>fields: Vec<FieldInfo<'a>>methods: Vec<MethodInfo<'a>>attributes: Vec<AttributeInfo<'a>>

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.