pub struct ECSExecutionImage {Show 15 fields
file_header: EMCFileHeader,
exi_header: Option<Vec<u8>>,
header: Option<EXIHeader>,
image: MemReader,
pif_prologue: DWordArray,
pif_epilogue: DWordArray,
function_list: FunctionNameList,
csg_global: ECSGlobal,
csg_data: ECSGlobal,
ext_const_str: Option<TaggedRefAddressList>,
ext_global_ref: DWordArray,
ext_data_ref: DWordArray,
imp_global_ref: TaggedRefAddressList,
imp_data_ref: TaggedRefAddressList,
lf: String,
}Available on crate feature
entis-gls only.Fields§
§file_header: EMCFileHeader§exi_header: Option<Vec<u8>>§header: Option<EXIHeader>§image: MemReader§pif_prologue: DWordArray§pif_epilogue: DWordArray§function_list: FunctionNameList§csg_global: ECSGlobal§csg_data: ECSGlobal§ext_const_str: Option<TaggedRefAddressList>§ext_global_ref: DWordArray§ext_data_ref: DWordArray§imp_global_ref: TaggedRefAddressList§imp_data_ref: TaggedRefAddressList§lf: StringImplementations§
Source§impl ECSExecutionImage
impl ECSExecutionImage
pub fn new(reader: MemReaderRef<'_>, config: &ExtraConfig) -> Result<Self>
fn fix_image<'a, 'b>( assembly: &ECSExecutionImageAssembly, reader: MemReaderRef<'a>, writer: &mut MemWriter, commands: &HashMap<u32, &'b ECSExecutionImageCommandRecord>, ) -> Result<()>
fn fix_references( &mut self, commands: &HashMap<u32, &ECSExecutionImageCommandRecord>, ) -> Result<()>
fn save<'a>(&self, writer: Box<dyn Write + 'a>) -> Result<()>
Trait Implementations§
Source§impl Clone for ECSExecutionImage
impl Clone for ECSExecutionImage
Source§fn clone(&self) -> ECSExecutionImage
fn clone(&self) -> ECSExecutionImage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ECSExecutionImage
impl Debug for ECSExecutionImage
Source§impl ECSImage for ECSExecutionImage
impl ECSImage for ECSExecutionImage
fn disasm<'a>(&self, writer: Box<dyn Write + 'a>) -> Result<()>
fn export(&self) -> Result<Vec<Message>>
fn export_multi(&self) -> Result<HashMap<String, Vec<Message>>>
fn export_all(&self) -> Result<Vec<String>>
fn import<'a>( &self, messages: Vec<Message>, file: Box<dyn WriteSeek + 'a>, replacement: Option<&'a ReplacementTable>, ) -> Result<()>
fn import_multi<'a>( &self, messages: HashMap<String, Vec<Message>>, file: Box<dyn WriteSeek + 'a>, replacement: Option<&'a ReplacementTable>, ) -> Result<()>
fn import_all<'a>( &self, messages: Vec<String>, file: Box<dyn WriteSeek + 'a>, ) -> Result<()>
Auto Trait Implementations§
impl Freeze for ECSExecutionImage
impl RefUnwindSafe for ECSExecutionImage
impl Send for ECSExecutionImage
impl Sync for ECSExecutionImage
impl Unpin for ECSExecutionImage
impl UnwindSafe for ECSExecutionImage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more