#[repr(C)]pub struct song_t {Show 28 fields
pub Header: it_header_t,
pub Orders: [u8; 256],
pub Ins: [instrument_t; 100],
pub Smp: [sample_t; 100],
pub Patt: [pattern_t; 200],
pub Message: [c_char; 8001],
pub Playing: bool,
pub Loaded: bool,
pub PatternOffset: *mut u8,
pub LastMIDIByte: u8,
pub CurrentOrder: u16,
pub CurrentPattern: u16,
pub CurrentRow: u16,
pub ProcessOrder: u16,
pub ProcessRow: u16,
pub BreakRow: u16,
pub RowDelay: u8,
pub RowDelayOn: bool,
pub StopSong: bool,
pub PatternLooping: bool,
pub NumberOfRows: u16,
pub CurrentTick: u16,
pub CurrentSpeed: u16,
pub ProcessTick: u16,
pub Tempo: u16,
pub GlobalVolume: u16,
pub DecodeExpectedPattern: u16,
pub DecodeExpectedRow: u16,
}Fields§
§Header: it_header_t§Orders: [u8; 256]§Ins: [instrument_t; 100]§Smp: [sample_t; 100]§Patt: [pattern_t; 200]§Message: [c_char; 8001]§Playing: bool§Loaded: bool§PatternOffset: *mut u8§LastMIDIByte: u8§CurrentOrder: u16§CurrentPattern: u16§CurrentRow: u16§ProcessOrder: u16§ProcessRow: u16§BreakRow: u16§RowDelay: u8§RowDelayOn: bool§StopSong: bool§PatternLooping: bool§NumberOfRows: u16§CurrentTick: u16§CurrentSpeed: u16§ProcessTick: u16§Tempo: u16§GlobalVolume: u16§DecodeExpectedPattern: u16§DecodeExpectedRow: u16Trait Implementations§
Auto Trait Implementations§
impl !Send for song_t
impl !Sync for song_t
impl Freeze for song_t
impl RefUnwindSafe for song_t
impl Unpin for song_t
impl UnsafeUnpin for song_t
impl UnwindSafe for song_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