pub enum TargetInfo {
TypeParameter {
type_parameter_index: u8,
},
Supertype {
supertype_index: u16,
},
TypeParameterBound {
type_parameter_index: u8,
bound_index: u8,
},
Empty,
MethodFormalParameter {
formal_parameter_index: u8,
},
Throws {
throws_type_index: u16,
},
LocalVar {
localvar_table: Vec<LocalVarEntry>,
},
Catch {
exception_table_index: u16,
},
Offset {
offset: u16,
},
TypeArgument {
offset: u16,
type_argument_index: u8,
},
}Expand description
Target information for a type annotation, identifying where the type is used.
Variants§
TypeParameter
Supertype
TypeParameterBound
Empty
MethodFormalParameter
Throws
LocalVar
Fields
§
localvar_table: Vec<LocalVarEntry>Catch
Offset
TypeArgument
Trait Implementations§
Source§impl Clone for TargetInfo
impl Clone for TargetInfo
Source§impl Debug for TargetInfo
impl Debug for TargetInfo
impl Eq for TargetInfo
Source§impl PartialEq for TargetInfo
impl PartialEq for TargetInfo
impl StructuralPartialEq for TargetInfo
Auto Trait Implementations§
impl Freeze for TargetInfo
impl RefUnwindSafe for TargetInfo
impl Send for TargetInfo
impl Sync for TargetInfo
impl Unpin for TargetInfo
impl UnsafeUnpin for TargetInfo
impl UnwindSafe for TargetInfo
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