pub struct ParameterAnnotationsAttribute {
pub parameters: Vec<Vec<Annotation>>,
}Expand description
An ordered RuntimeVisibleParameterAnnotations or
RuntimeInvisibleParameterAnnotations payload.
Fields§
§parameters: Vec<Vec<Annotation>>Per-parameter annotation lists in descriptor parameter order.
Implementations§
Source§impl ParameterAnnotationsAttribute
impl ParameterAnnotationsAttribute
Sourcepub fn decode(
reader: &mut ByteReader<'_>,
nesting_budget: usize,
) -> Result<Self, AttributeError>
pub fn decode( reader: &mut ByteReader<'_>, nesting_budget: usize, ) -> Result<Self, AttributeError>
Decode a parameter-annotation payload under the supplied nesting budget.
Trait Implementations§
Source§impl Clone for ParameterAnnotationsAttribute
impl Clone for ParameterAnnotationsAttribute
Source§fn clone(&self) -> ParameterAnnotationsAttribute
fn clone(&self) -> ParameterAnnotationsAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for ParameterAnnotationsAttribute
impl StructuralPartialEq for ParameterAnnotationsAttribute
Auto Trait Implementations§
impl Freeze for ParameterAnnotationsAttribute
impl RefUnwindSafe for ParameterAnnotationsAttribute
impl Send for ParameterAnnotationsAttribute
impl Sync for ParameterAnnotationsAttribute
impl Unpin for ParameterAnnotationsAttribute
impl UnsafeUnpin for ParameterAnnotationsAttribute
impl UnwindSafe for ParameterAnnotationsAttribute
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