[][src]Enum pclass_parser::classfile::attributes::ElementValueType

pub enum ElementValueType {
    Byte {
        val_index: U2,
    },
    Char {
        val_index: U2,
    },
    Double {
        val_index: U2,
    },
    Float {
        val_index: U2,
    },
    Int {
        val_index: U2,
    },
    Long {
        val_index: U2,
    },
    Short {
        val_index: U2,
    },
    Boolean {
        val_index: U2,
    },
    String {
        val_index: U2,
    },
    Enum {
        type_index: U2,
        val_index: U2,
    },
    Class {
        index: U2,
    },
    Annotation(AnnotationElementValue),
    Array {
        values: Vec<ElementValueType>,
    },
    Unknown,
}

Variants

Byte

Fields of Byte

val_index: U2
Char

Fields of Char

val_index: U2
Double

Fields of Double

val_index: U2
Float

Fields of Float

val_index: U2
Int

Fields of Int

val_index: U2
Long

Fields of Long

val_index: U2
Short

Fields of Short

val_index: U2
Boolean

Fields of Boolean

val_index: U2
String

Fields of String

val_index: U2
Enum

Fields of Enum

type_index: U2val_index: U2
Class

Fields of Class

index: U2
Array

Fields of Array

values: Vec<ElementValueType>
Unknown

Trait Implementations

impl Clone for ElementValueType[src]

impl Debug for ElementValueType[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> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.