pub struct LocalVariable {
pub start_pc: u16,
pub length: u16,
pub name_index: u16,
pub type_index: u16,
pub slot: u16,
}Expand description
One local-variable range, shared by LocalVariableTable and LocalVariableTypeTable.
Fields§
§start_pc: u16Code-array start offset.
length: u16Range length.
name_index: u16Name index.
type_index: u16Descriptor or signature index.
slot: u16Local-variable slot.
Trait Implementations§
Source§impl Clone for LocalVariable
impl Clone for LocalVariable
Source§fn clone(&self) -> LocalVariable
fn clone(&self) -> LocalVariable
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 Copy for LocalVariable
Source§impl Debug for LocalVariable
impl Debug for LocalVariable
impl Eq for LocalVariable
Source§impl PartialEq for LocalVariable
impl PartialEq for LocalVariable
impl StructuralPartialEq for LocalVariable
Auto Trait Implementations§
impl Freeze for LocalVariable
impl RefUnwindSafe for LocalVariable
impl Send for LocalVariable
impl Sync for LocalVariable
impl Unpin for LocalVariable
impl UnsafeUnpin for LocalVariable
impl UnwindSafe for LocalVariable
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