pub struct Section {
pub id: u32,
pub name: &'static str,
}Expand description
A section this version knows (load-module.md §3.4). Every one is required.
Fields§
§id: u32§name: &'static strImplementations§
Source§impl Section
impl Section
pub const STRINGS: Section
pub const DIRECTORY: Section
pub const OPTIONS: Section
pub const LAYOUT: Section
pub const LIR: Section
pub const SQL: Section
pub const BMS: Section
pub const DEBUG: Section
pub const ALL: [Section; 8]
pub fn by_id(id: u32) -> Option<Section>
Trait Implementations§
impl Copy for Section
impl Eq for Section
impl StructuralPartialEq for Section
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Section
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