[−][src]Struct kerbalobjects::KOFile
Implementations
impl KOFile
[src]
pub fn new() -> KOFile
[src]
pub fn read(reader: &mut KOFileReader) -> Result<KOFile, Box<dyn Error>>
[src]
pub fn write(&mut self, writer: &mut KOFileWriter) -> Result<(), Box<dyn Error>>
[src]
pub fn is_entry_point(&self) -> bool
[src]
pub fn get_header_table(&mut self) -> &mut HeaderTable
[src]
pub fn get_symstrtab(&mut self) -> &mut StringTable
[src]
pub fn get_symdata(&mut self) -> &mut SymbolDataSection
[src]
pub fn get_symtab(&mut self) -> &mut SymbolTable
[src]
pub fn get_main_text(&mut self) -> Option<&mut RelSection>
[src]
pub fn get_init(&mut self) -> Option<&mut RelSection>
[src]
pub fn get_comment(&mut self) -> Option<&mut StringTable>
[src]
pub fn get_debug(&mut self) -> Option<&mut DebugSection>
[src]
pub fn add_symbol(&mut self, symbol: Symbol)
[src]
pub fn add_subrt_section(&mut self, subrt_section: SubrtSection)
[src]
pub fn set_main_text(&mut self, main_text: RelSection)
[src]
pub fn set_init(&mut self, init: RelSection)
[src]
pub fn set_comment(&mut self, comment: StringTable)
[src]
pub fn set_debug(&mut self, debug: DebugSection)
[src]
pub fn regenerate_headers(&mut self)
[src]
Auto Trait Implementations
impl RefUnwindSafe for KOFile
impl Send for KOFile
impl Sync for KOFile
impl Unpin for KOFile
impl UnwindSafe for KOFile
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,