pub enum TypeAnnotationTargetInfoType {
TypeParameter {
type_parameter_index: ConstantPoolIndex,
},
SuperType {
super_type_index: ConstantPoolIndex,
},
TypeParameterBound {
type_parameter_index: ConstantPoolIndex,
bound_index: ConstantPoolIndex,
},
Empty,
FormalParameter {
formal_parameter_index: ConstantPoolIndex,
},
Throws {
throws_type_index: ConstantPoolIndex,
},
LocalVar {
table: Vec<LocalVarTargetTableEntry>,
},
Catch {
exception_table_index: ConstantPoolIndex,
},
Offset {
offset: u16,
},
TypeArgument {
offset: u16,
type_argument_index: ConstantPoolIndex,
},
}
Variants§
TypeParameter
Fields
§
type_parameter_index: ConstantPoolIndex
SuperType
Fields
§
super_type_index: ConstantPoolIndex
TypeParameterBound
Empty
FormalParameter
Fields
§
formal_parameter_index: ConstantPoolIndex
Throws
Fields
§
throws_type_index: ConstantPoolIndex
LocalVar
Fields
§
table: Vec<LocalVarTargetTableEntry>
Catch
Fields
§
exception_table_index: ConstantPoolIndex
Offset
TypeArgument
Trait Implementations§
Source§impl Clone for TypeAnnotationTargetInfoType
impl Clone for TypeAnnotationTargetInfoType
Source§fn clone(&self) -> TypeAnnotationTargetInfoType
fn clone(&self) -> TypeAnnotationTargetInfoType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TypeAnnotationTargetInfoType
impl Debug for TypeAnnotationTargetInfoType
Source§impl PartialEq for TypeAnnotationTargetInfoType
impl PartialEq for TypeAnnotationTargetInfoType
Source§fn eq(&self, other: &TypeAnnotationTargetInfoType) -> bool
fn eq(&self, other: &TypeAnnotationTargetInfoType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TypeAnnotationTargetInfoType
Auto Trait Implementations§
impl Freeze for TypeAnnotationTargetInfoType
impl RefUnwindSafe for TypeAnnotationTargetInfoType
impl Send for TypeAnnotationTargetInfoType
impl Sync for TypeAnnotationTargetInfoType
impl Unpin for TypeAnnotationTargetInfoType
impl UnwindSafe for TypeAnnotationTargetInfoType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more