pub enum TypeAnnotationTargetInfo {
TypeParameter {
type_parameter_index: u8,
},
Supertype {
supertype_index: u16,
},
TypeParameterBound {
type_parameter_index: u8,
bound_index: u8,
},
Empty,
FormalParameter {
formal_parameter_index: u8,
},
Throws {
throws_type_index: u16,
},
LocalVar {
table: Vec<LocalVarTargetTableEntry>,
},
Catch {
exception_table_index: u16,
},
Offset {
offset: u16,
},
TypeArgument {
offset: u16,
type_argument_index: u8,
},
}Variants§
TypeParameter
Supertype
TypeParameterBound
Empty
FormalParameter
Throws
LocalVar
Fields
§
table: Vec<LocalVarTargetTableEntry>Catch
Offset
TypeArgument
Trait Implementations§
Source§impl Clone for TypeAnnotationTargetInfo
impl Clone for TypeAnnotationTargetInfo
Source§fn clone(&self) -> TypeAnnotationTargetInfo
fn clone(&self) -> TypeAnnotationTargetInfo
Returns a duplicate 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 TypeAnnotationTargetInfo
impl Debug for TypeAnnotationTargetInfo
Source§impl PartialEq for TypeAnnotationTargetInfo
impl PartialEq for TypeAnnotationTargetInfo
impl StructuralPartialEq for TypeAnnotationTargetInfo
Auto Trait Implementations§
impl Freeze for TypeAnnotationTargetInfo
impl RefUnwindSafe for TypeAnnotationTargetInfo
impl Send for TypeAnnotationTargetInfo
impl Sync for TypeAnnotationTargetInfo
impl Unpin for TypeAnnotationTargetInfo
impl UnsafeUnpin for TypeAnnotationTargetInfo
impl UnwindSafe for TypeAnnotationTargetInfo
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