pub enum AttributeContent<'input> {
Show 30 variants AnnotationDefault(AnnotationDefault<'input>), BootstrapMethods(BootstrapMethods<'input>), Code(Code<'input>), ConstantValue(ConstantValue<'input>), Deprecated(Deprecated<'input>), EnclosingMethod(EnclosingMethod<'input>), Exceptions(Exceptions<'input>), InnerClasses(InnerClasses<'input>), LineNumberTable(LineNumberTable<'input>), LocalVariableTable(LocalVariableTable<'input>), LocalVariableTypeTable(LocalVariableTypeTable<'input>), MethodParameters(MethodParameters<'input>), Module(Box<Module<'input>>), ModuleMainClass(ModuleMainClass<'input>), ModulePackages(ModulePackages<'input>), NestHost(NestHost<'input>), NestMembers(NestMembers<'input>), PermittedSubclasses(PermittedSubclasses<'input>), Record(Record<'input>), RuntimeInvisibleAnnotations(RuntimeInvisibleAnnotations<'input>), RuntimeInvisibleParameterAnnotations(RuntimeInvisibleParameterAnnotations<'input>), RuntimeInvisibleTypeAnnotations(RuntimeInvisibleTypeAnnotations<'input>), RuntimeVisibleAnnotations(RuntimeVisibleAnnotations<'input>), RuntimeVisibleParameterAnnotations(RuntimeVisibleParameterAnnotations<'input>), RuntimeVisibleTypeAnnotations(RuntimeVisibleTypeAnnotations<'input>), Signature(Signature<'input>), SourceDebugExtension(SourceDebugExtension<'input>), SourceFile(SourceFile<'input>), StackMapTable(StackMapTable<'input>), Synthetic(Synthetic<'input>),
}

Variants§

§

AnnotationDefault(AnnotationDefault<'input>)

§

BootstrapMethods(BootstrapMethods<'input>)

§

Code(Code<'input>)

§

ConstantValue(ConstantValue<'input>)

§

Deprecated(Deprecated<'input>)

§

EnclosingMethod(EnclosingMethod<'input>)

§

Exceptions(Exceptions<'input>)

§

InnerClasses(InnerClasses<'input>)

§

LineNumberTable(LineNumberTable<'input>)

§

LocalVariableTable(LocalVariableTable<'input>)

§

LocalVariableTypeTable(LocalVariableTypeTable<'input>)

§

MethodParameters(MethodParameters<'input>)

§

Module(Box<Module<'input>>)

§

ModuleMainClass(ModuleMainClass<'input>)

§

ModulePackages(ModulePackages<'input>)

§

NestHost(NestHost<'input>)

§

NestMembers(NestMembers<'input>)

§

PermittedSubclasses(PermittedSubclasses<'input>)

§

Record(Record<'input>)

§

RuntimeInvisibleAnnotations(RuntimeInvisibleAnnotations<'input>)

§

RuntimeInvisibleParameterAnnotations(RuntimeInvisibleParameterAnnotations<'input>)

§

RuntimeInvisibleTypeAnnotations(RuntimeInvisibleTypeAnnotations<'input>)

§

RuntimeVisibleAnnotations(RuntimeVisibleAnnotations<'input>)

§

RuntimeVisibleParameterAnnotations(RuntimeVisibleParameterAnnotations<'input>)

§

RuntimeVisibleTypeAnnotations(RuntimeVisibleTypeAnnotations<'input>)

§

Signature(Signature<'input>)

§

SourceDebugExtension(SourceDebugExtension<'input>)

§

SourceFile(SourceFile<'input>)

§

StackMapTable(StackMapTable<'input>)

§

Synthetic(Synthetic<'input>)

Trait Implementations§

source§

impl<'input> Clone for AttributeContent<'input>

source§

fn clone(&self) -> AttributeContent<'input>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'input> Debug for AttributeContent<'input>

source§

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

Formats the value using the given formatter. Read more
source§

impl<'input> TryFrom<AttributeContent<'input>> for AnnotationDefault<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for BootstrapMethods<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for Box<Module<'input>>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for Code<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for ConstantValue<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for Deprecated<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for EnclosingMethod<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for Exceptions<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for InnerClasses<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for LineNumberTable<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for LocalVariableTable<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for LocalVariableTypeTable<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for MethodParameters<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for Module<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for ModuleMainClass<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for ModulePackages<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for NestHost<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for NestMembers<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for PermittedSubclasses<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for Record<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for RuntimeInvisibleAnnotations<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for RuntimeInvisibleParameterAnnotations<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for RuntimeInvisibleTypeAnnotations<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for RuntimeVisibleAnnotations<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for RuntimeVisibleParameterAnnotations<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for RuntimeVisibleTypeAnnotations<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for Signature<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for SourceDebugExtension<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for SourceFile<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for StackMapTable<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'input> TryFrom<AttributeContent<'input>> for Synthetic<'input>

§

type Error = DecodeError

The type returned in the event of a conversion error.
source§

fn try_from(value: AttributeContent<'input>) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

§

impl<'input> Freeze for AttributeContent<'input>

§

impl<'input> RefUnwindSafe for AttributeContent<'input>

§

impl<'input> Send for AttributeContent<'input>

§

impl<'input> Sync for AttributeContent<'input>

§

impl<'input> Unpin for AttributeContent<'input>

§

impl<'input> UnwindSafe for AttributeContent<'input>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

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

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

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

Performs the conversion.