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

impl<'a> ClassFile<'a>[src]

pub fn constantpool_iter(&'a self) -> ConstantPoolIter<'a>

Notable traits for ConstantPoolIter<'a>

impl<'a> Iterator for ConstantPoolIter<'a> type Item = ConstantPoolItem<'a>;
[src]

Trait Implementations

impl<'a> Debug for ClassFile<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for ClassFile<'a>

impl<'a> !Send for ClassFile<'a>

impl<'a> !Sync for ClassFile<'a>

impl<'a> Unpin for ClassFile<'a>

impl<'a> !UnwindSafe for ClassFile<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.