pub enum TargetInfo {
TypeParameter {
type_parameter_index: U1,
},
SuperType {
supertype_index: U2,
},
TypeParameterBound {
type_parameter_index: U1,
bound_index: U1,
},
Empty,
FormalParameter {
formal_parameter_index: U1,
},
Throws {
throws_type_index: U2,
},
LocalVar {
table: Vec<LocalVarTargetTable>,
},
Catch {
exception_table_index: U2,
},
Offset {
offset: U2,
},
TypeArgument {
offset: U2,
type_argument_index: U1,
},
}
Variants§
TypeParameter
SuperType
TypeParameterBound
Empty
FormalParameter
Throws
LocalVar
Fields
§
table: Vec<LocalVarTargetTable>
Catch
Offset
TypeArgument
Trait Implementations§
Source§impl Clone for TargetInfo
impl Clone for TargetInfo
Source§fn clone(&self) -> TargetInfo
fn clone(&self) -> TargetInfo
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 moreAuto Trait Implementations§
impl Freeze for TargetInfo
impl RefUnwindSafe for TargetInfo
impl Send for TargetInfo
impl Sync for TargetInfo
impl Unpin 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