Skip to main content

hostChn_t

Struct hostChn_t 

Source
#[repr(C)]
pub struct hostChn_t {
Show 57 fields pub Flags: u16, pub NotePackMask: u8, pub RawNote: u8, pub Ins: u8, pub RawVolColumn: u8, pub Cmd: u8, pub CmdVal: u8, pub OldCmd: u8, pub OldCmdVal: u8, pub VolCmd: u8, pub VolCmdVal: u8, pub MIDIChn: u8, pub MIDIProg: u8, pub TranslatedNote: u8, pub Smp: u8, pub EfxMem_DKL: u8, pub EfxMem_EFG: u8, pub EfxMem_O: u8, pub EfxMem_I: u8, pub EfxMem_J: u8, pub EfxMem_N: u8, pub EfxMem_P: u8, pub EfxMem_Q: u8, pub EfxMem_T: u8, pub EfxMem_S: u8, pub EfxMem_W: u8, pub EfxMem_G_Compat: u8, pub EfxMem_SFx: u8, pub HighSmpOffs: u8, pub HostChnNum: u8, pub VolSet: u8, pub SlaveChnPtr: *mut c_void, pub PattLoopStartRow: u8, pub PattLoopCount: u8, pub PanbrelloWaveform: u8, pub PanbrelloPos: u8, pub PanbrelloDepth: u8, pub PanbrelloSpeed: u8, pub LastPanbrelloData: u8, pub LastVibratoData: i8, pub LastTremoloData: i8, pub ChnPan: u8, pub ChnVol: u8, pub VolSlideDelta: i8, pub TremorCount: u8, pub TremorOnOff: u8, pub RetrigCount: u8, pub PortaFreq: i32, pub VibratoWaveform: u8, pub VibratoPos: u8, pub VibratoDepth: u8, pub VibratoSpeed: u8, pub TremoloWaveform: u8, pub TremoloPos: u8, pub TremoloDepth: u8, pub TremoloSpeed: u8, pub MiscEfxData: [u8; 16],
}

Fields§

§Flags: u16§NotePackMask: u8§RawNote: u8§Ins: u8§RawVolColumn: u8§Cmd: u8§CmdVal: u8§OldCmd: u8§OldCmdVal: u8§VolCmd: u8§VolCmdVal: u8§MIDIChn: u8§MIDIProg: u8§TranslatedNote: u8§Smp: u8§EfxMem_DKL: u8§EfxMem_EFG: u8§EfxMem_O: u8§EfxMem_I: u8§EfxMem_J: u8§EfxMem_N: u8§EfxMem_P: u8§EfxMem_Q: u8§EfxMem_T: u8§EfxMem_S: u8§EfxMem_W: u8§EfxMem_G_Compat: u8§EfxMem_SFx: u8§HighSmpOffs: u8§HostChnNum: u8§VolSet: u8§SlaveChnPtr: *mut c_void§PattLoopStartRow: u8§PattLoopCount: u8§PanbrelloWaveform: u8§PanbrelloPos: u8§PanbrelloDepth: u8§PanbrelloSpeed: u8§LastPanbrelloData: u8§LastVibratoData: i8§LastTremoloData: i8§ChnPan: u8§ChnVol: u8§VolSlideDelta: i8§TremorCount: u8§TremorOnOff: u8§RetrigCount: u8§PortaFreq: i32§VibratoWaveform: u8§VibratoPos: u8§VibratoDepth: u8§VibratoSpeed: u8§TremoloWaveform: u8§TremoloPos: u8§TremoloDepth: u8§TremoloSpeed: u8§MiscEfxData: [u8; 16]

Trait Implementations§

Source§

impl Clone for hostChn_t

Source§

fn clone(&self) -> hostChn_t

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for hostChn_t

Source§

impl Debug for hostChn_t

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.