#[repr(C)]pub struct GB_gbs_header_t {
pub magic: u32,
pub track_count: u8,
pub first_track: u8,
pub load_address: u16,
pub init_address: u16,
pub play_address: u16,
pub sp: u16,
pub TMA: u8,
pub TAC: u8,
pub title: [c_char; 32],
pub author: [c_char; 32],
pub copyright: [c_char; 32],
}Fields§
§magic: u32§track_count: u8§first_track: u8§load_address: u16§init_address: u16§play_address: u16§sp: u16§TMA: u8§TAC: u8§title: [c_char; 32]§copyright: [c_char; 32]Trait Implementations§
Source§impl Clone for GB_gbs_header_t
impl Clone for GB_gbs_header_t
Source§fn clone(&self) -> GB_gbs_header_t
fn clone(&self) -> GB_gbs_header_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GB_gbs_header_t
impl Debug for GB_gbs_header_t
impl Copy for GB_gbs_header_t
Auto Trait Implementations§
impl Freeze for GB_gbs_header_t
impl RefUnwindSafe for GB_gbs_header_t
impl Send for GB_gbs_header_t
impl Sync for GB_gbs_header_t
impl Unpin for GB_gbs_header_t
impl UnwindSafe for GB_gbs_header_t
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