[−][src]Struct kerbalobjects::SectionHeader
Implementations
impl SectionHeader
[src]
pub fn new(
section_type: SectionType,
section_offset: u32,
section_size: u32,
section_name: &str
) -> SectionHeader
[src]
section_type: SectionType,
section_offset: u32,
section_size: u32,
section_name: &str
) -> SectionHeader
pub fn read(reader: &mut KOFileReader) -> Result<SectionHeader, Box<dyn Error>>
[src]
pub fn write(&self, writer: &mut KOFileWriter) -> Result<(), Box<dyn Error>>
[src]
pub fn get_type(&self) -> SectionType
[src]
pub fn offset(&self) -> u32
[src]
pub fn set_offset(&mut self, offset: u32)
[src]
pub fn size(&self) -> u32
[src]
pub fn section_size(&self) -> u32
[src]
pub fn name(&self) -> &String
[src]
Auto Trait Implementations
impl RefUnwindSafe for SectionHeader
[src]
impl Send for SectionHeader
[src]
impl Sync for SectionHeader
[src]
impl Unpin for SectionHeader
[src]
impl UnwindSafe for SectionHeader
[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>,