pub struct BootstrapMethod {
pub bootstrap_method_ref: u16,
pub num_bootstrap_arguments: u16,
pub bootstrap_arguments: Vec<u16>,
}Fields§
§bootstrap_method_ref: u16§num_bootstrap_arguments: u16§bootstrap_arguments: Vec<u16>Implementations§
Source§impl BootstrapMethod
impl BootstrapMethod
pub fn new( bootstrap_method_ref: u16, boostrap_arguments_indices: Vec<u16>, ) -> Self
pub fn bootstrap_method_handle<'attribute, 'constant_pool: 'attribute>( &'attribute self, constant_pool: &'constant_pool ConstantPool, ) -> Option<&'constant_pool MethodHandle>
pub fn bootstrap_argument<'attribute, 'constant_pool: 'attribute>( &'attribute self, index: usize, constant_pool: &'constant_pool ConstantPool, ) -> Option<&'constant_pool Constant>
Trait Implementations§
Source§impl Clone for BootstrapMethod
impl Clone for BootstrapMethod
Source§fn clone(&self) -> BootstrapMethod
fn clone(&self) -> BootstrapMethod
Returns a duplicate 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 moreSource§impl Debug for BootstrapMethod
impl Debug for BootstrapMethod
Source§impl<'de> Deserialize<'de> for BootstrapMethod
impl<'de> Deserialize<'de> for BootstrapMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BootstrapMethod
impl PartialEq for BootstrapMethod
Source§impl Serialize for BootstrapMethod
impl Serialize for BootstrapMethod
impl Eq for BootstrapMethod
impl StructuralPartialEq for BootstrapMethod
Auto Trait Implementations§
impl Freeze for BootstrapMethod
impl RefUnwindSafe for BootstrapMethod
impl Send for BootstrapMethod
impl Sync for BootstrapMethod
impl Unpin for BootstrapMethod
impl UnwindSafe for BootstrapMethod
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