Struct move_model::model::FieldEnv
source · pub struct FieldEnv<'env> {
pub struct_env: StructEnv<'env>,
/* private fields */
}
Fields§
§struct_env: StructEnv<'env>
Reference to enclosing struct.
Implementations§
source§impl<'env> FieldEnv<'env>
impl<'env> FieldEnv<'env>
sourcepub fn get_identifier(&'env self) -> Identifier
pub fn get_identifier(&'env self) -> Identifier
Returns the VM identifier for this field
sourcepub fn get_offset(&self) -> usize
pub fn get_offset(&self) -> usize
Get field offset.