pub struct LocalVariableType {
pub start_pc: u16,
pub length: u16,
pub name_index: CpIndex,
pub signature_index: CpIndex,
pub index: u16,
}Expand description
One entry of a LocalVariableTypeTable attribute.
See JVMS §4.7.14.
Fields§
§start_pc: u16§length: u16§name_index: CpIndex§signature_index: CpIndex§index: u16Implementations§
Source§impl LocalVariableType
impl LocalVariableType
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, validating its name and signature.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LocalVariableType
impl RefUnwindSafe for LocalVariableType
impl Send for LocalVariableType
impl Sync for LocalVariableType
impl Unpin for LocalVariableType
impl UnsafeUnpin for LocalVariableType
impl UnwindSafe for LocalVariableType
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