[][src]Enum javaclass::AttributeInfo

pub enum AttributeInfo {
    Raw {
        attribute_name: String,
        info: Vec<u8>,
    },
    ConstantValue {
        constant_value_index: u16,
    },
    Code {
        max_stack: u16,
        max_locals: u16,
        code: Vec<u8>,
        exception_table: Vec<ExceptionTableInfo>,
        attributes: Vec<AttributeInfo>,
    },
    SourceFile {
        sourcefile_index: u16,
    },
}

Variants

Raw

Fields of Raw

attribute_name: Stringinfo: Vec<u8>
ConstantValue

Fields of ConstantValue

constant_value_index: u16
Code

Fields of Code

max_stack: u16max_locals: u16code: Vec<u8>exception_table: Vec<ExceptionTableInfo>attributes: Vec<AttributeInfo>
SourceFile

Fields of SourceFile

sourcefile_index: u16

Trait Implementations

impl Debug for AttributeInfo[src]

impl<'de> Deserialize<'de> for AttributeInfo[src]

impl Serialize for AttributeInfo[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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.