Struct classfmt::RawClass[][src]

pub struct RawClass<'c> {
Show fields pub magic: u32, pub minor_version: u16, pub major_version: u16, pub constant_pool_count: u16, pub constant_pool: Vec<Constant<'c>>, pub access_flags: ClassAccessFlag, pub this_class: u16, pub super_class: u16, pub interface_count: u16, pub field_count: u16, pub fields: Vec<Field>, pub methods_count: u16, pub methods: Vec<Method>, pub attributes_count: u16, pub attributes: Vec<Attribute>,
}
Expand description

A class file

Fields

magic: u32minor_version: u16major_version: u16constant_pool_count: u16constant_pool: Vec<Constant<'c>>access_flags: ClassAccessFlagthis_class: u16super_class: u16interface_count: u16field_count: u16fields: Vec<Field>methods_count: u16methods: Vec<Method>attributes_count: u16attributes: Vec<Attribute>

Trait Implementations

impl<'c> Debug for RawClass<'c>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'c> RefUnwindSafe for RawClass<'c>

impl<'c> Send for RawClass<'c>

impl<'c> Sync for RawClass<'c>

impl<'c> Unpin for RawClass<'c>

impl<'c> UnwindSafe for RawClass<'c>

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.