pub struct InnerClass {
pub inner_class_info_index: CpIndex,
pub outer_class_info_index: Option<CpIndex>,
pub inner_name_index: Option<CpIndex>,
pub inner_class_access_flags: InnerClassAccessFlags,
}Expand description
One entry of an InnerClasses attribute.
See JVMS §4.7.6.
Fields§
§inner_class_info_index: CpIndex§outer_class_info_index: Option<CpIndex>§inner_name_index: Option<CpIndex>§inner_class_access_flags: InnerClassAccessFlagsImplementations§
Source§impl InnerClass
impl InnerClass
Sourcepub fn try_read(
constant_pool: &ConstantPool<'_>,
cursor: &mut Cursor<'_>,
) -> Result<Self>
pub fn try_read( constant_pool: &ConstantPool<'_>, cursor: &mut Cursor<'_>, ) -> Result<Self>
Reads one entry; absent outer class and name are encoded as 0.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InnerClass
impl RefUnwindSafe for InnerClass
impl Send for InnerClass
impl Sync for InnerClass
impl Unpin for InnerClass
impl UnsafeUnpin for InnerClass
impl UnwindSafe for InnerClass
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