pub struct ECSExecutionImage {Show 21 fields
file_header: FileHeader,
section_header: SectionHeader,
image: MemReader,
image_global: Option<MemReader>,
image_const: Option<MemReader>,
image_shared: Option<MemReader>,
section_class_info: SectionClassInfo,
section_function: SectionFunction,
section_init_naked_func: SectionInitNakedFunc,
section_func_info: SectionFuncInfo,
section_symbol_info: Option<SectionSymbolInfo>,
section_global: Option<SectionGlobal>,
section_data: Option<SectionData>,
section_const_string: SectionConstString,
section_link_info: Option<SectionLinkInfo>,
section_link_info_ex: Option<SectionLinkInfoEx>,
section_ref_func: Option<SectionRefFunc>,
section_ref_code: Option<SectionRefCode>,
section_ref_class: Option<SectionRefClass>,
section_import_native_func: SectionImportNativeFunc,
no_part_label: bool,
}Available on crate feature
entis-gls only.Fields§
§file_header: FileHeader§section_header: SectionHeader§image: MemReader§image_global: Option<MemReader>§image_const: Option<MemReader>§section_class_info: SectionClassInfo§section_function: SectionFunction§section_init_naked_func: SectionInitNakedFunc§section_func_info: SectionFuncInfo§section_symbol_info: Option<SectionSymbolInfo>§section_global: Option<SectionGlobal>§section_data: Option<SectionData>§section_const_string: SectionConstString§section_link_info: Option<SectionLinkInfo>§section_link_info_ex: Option<SectionLinkInfoEx>§section_ref_func: Option<SectionRefFunc>§section_ref_code: Option<SectionRefCode>§section_ref_class: Option<SectionRefClass>§section_import_native_func: SectionImportNativeFunc§no_part_label: boolImplementations§
Source§impl ECSExecutionImage
impl ECSExecutionImage
pub fn new(reader: MemReaderRef<'_>, config: &ExtraConfig) -> Result<Self>
fn inner_new( reader: MemReaderRef<'_>, config: &ExtraConfig, ver: u32, ) -> Result<Self>
fn fix_image<'a, 'b>( assembly: &ECSExecutionImageAssembly, disasm: &mut ECSExecutionImageDisassembler<'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