Struct cafebabe::ClassFile

source ·
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>>,
    /* private fields */
}

Fields§

§major_version: u16§minor_version: u16§access_flags: ClassAccessFlags§this_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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.