pub struct BootstrapMethodsAttribute {
pub methods: Vec<BootstrapMethod>,
}Expand description
An ordered BootstrapMethods payload.
Fields§
§methods: Vec<BootstrapMethod>Bootstrap methods in classfile index order.
Implementations§
Source§impl BootstrapMethodsAttribute
impl BootstrapMethodsAttribute
Sourcepub fn decode(reader: &mut ByteReader<'_>) -> Result<Self, AttributeError>
pub fn decode(reader: &mut ByteReader<'_>) -> Result<Self, AttributeError>
Decode without resolving method handles, arguments, or dynamic constants.
Trait Implementations§
Source§impl Clone for BootstrapMethodsAttribute
impl Clone for BootstrapMethodsAttribute
Source§fn clone(&self) -> BootstrapMethodsAttribute
fn clone(&self) -> BootstrapMethodsAttribute
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 moreSource§impl Debug for BootstrapMethodsAttribute
impl Debug for BootstrapMethodsAttribute
impl Eq for BootstrapMethodsAttribute
impl StructuralPartialEq for BootstrapMethodsAttribute
Auto Trait Implementations§
impl Freeze for BootstrapMethodsAttribute
impl RefUnwindSafe for BootstrapMethodsAttribute
impl Send for BootstrapMethodsAttribute
impl Sync for BootstrapMethodsAttribute
impl Unpin for BootstrapMethodsAttribute
impl UnsafeUnpin for BootstrapMethodsAttribute
impl UnwindSafe for BootstrapMethodsAttribute
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