pub struct Context {
pub register_count: usize,
pub field_register_map: HashMap<String, usize>,
pub instructions: Vec<Instruction>,
pub name: String,
}
Fields§
§register_count: usize
§field_register_map: HashMap<String, usize>
§instructions: Vec<Instruction>
§name: String
Implementations§
Source§impl Context
impl Context
pub fn new() -> Context
pub fn decode_field_top(&mut self, field: &Arc<Field>)
Sourcepub fn decode_field(
&mut self,
source: Target,
field: &Arc<Field>,
) -> Option<usize>
pub fn decode_field( &mut self, source: Target, field: &Arc<Field>, ) -> Option<usize>
return of None
means interior container
pub fn decode_type( &mut self, source: Target, field: &Arc<Field>, ) -> Option<usize>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Context
impl !RefUnwindSafe for Context
impl !Send for Context
impl !Sync for Context
impl Unpin for Context
impl !UnwindSafe for Context
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