[−][src]Struct kerbalobjects::HeaderTable
Implementations
impl HeaderTable
[src]
pub fn new(headers: Vec<SectionHeader>) -> HeaderTable
[src]
pub fn get_headers(&self) -> &Vec<SectionHeader>
[src]
pub fn get_header(&self, index: usize) -> Result<&SectionHeader, Box<dyn Error>>
[src]
pub fn add(&mut self, header: SectionHeader)
[src]
pub fn read(
reader: &mut KOFileReader,
number_sections: u16
) -> Result<HeaderTable, Box<dyn Error>>
[src]
reader: &mut KOFileReader,
number_sections: u16
) -> Result<HeaderTable, Box<dyn Error>>
pub fn write(&self, writer: &mut KOFileWriter) -> Result<(), Box<dyn Error>>
[src]
pub fn validate_conventions(&self) -> Result<(), Box<dyn Error>>
[src]
Auto Trait Implementations
impl RefUnwindSafe for HeaderTable
[src]
impl Send for HeaderTable
[src]
impl Sync for HeaderTable
[src]
impl Unpin for HeaderTable
[src]
impl UnwindSafe for HeaderTable
[src]
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>,