pub struct TypeAnnotation {
pub target_info: TargetInfo,
pub target_path: TypePath,
pub type_index: u16,
pub element_value_pairs: Vec<ElementValuePair>,
}Expand description
A type annotation with its target and path information.
https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.7.20
Fields§
§target_info: TargetInfo§target_path: TypePath§type_index: u16§element_value_pairs: Vec<ElementValuePair>Trait Implementations§
Source§impl Clone for TypeAnnotation
impl Clone for TypeAnnotation
Source§impl Debug for TypeAnnotation
impl Debug for TypeAnnotation
impl Eq for TypeAnnotation
Source§impl PartialEq for TypeAnnotation
impl PartialEq for TypeAnnotation
impl StructuralPartialEq for TypeAnnotation
Auto Trait Implementations§
impl Freeze for TypeAnnotation
impl RefUnwindSafe for TypeAnnotation
impl Send for TypeAnnotation
impl Sync for TypeAnnotation
impl Unpin for TypeAnnotation
impl UnsafeUnpin for TypeAnnotation
impl UnwindSafe for TypeAnnotation
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