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 */
}
Formats the value using the given formatter.
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.