Section

Trait Section 

Source
pub trait Section: Sized {
    const ID: &'static SectionId;

    // Required method
    fn decode<R: Read + Seek>(read: &mut R) -> Result<Self>;
}
Expand description

Common trait for section in compiled space binaries.

Required Associated Constants§

Source

const ID: &'static SectionId

Required Methods§

Source

fn decode<R: Read + Seek>(read: &mut R) -> Result<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Section for BWAL

Source§

const ID: &'static SectionId = b"BWAL"

Source§

impl Section for BWCS

Source§

const ID: &'static SectionId = b"BWCS"

Source§

impl Section for BWSG

Source§

const ID: &'static SectionId = b"BWSG"

Source§

impl Section for BWST

Source§

const ID: &'static SectionId = b"BWST"

Source§

impl Section for BWT2

Source§

const ID: &'static SectionId = b"BWT2"