pub struct MySetting {Show 22 fields
pub on_air_display: OnAirDisplay,
pub lcd_brightness: LCDBrightness,
pub quantize: Quantize,
pub auto_cue_level: AutoCueLevel,
pub language: Language,
pub jog_ring_brightness: JogRingBrightness,
pub jog_ring_indicator: JogRingIndicator,
pub slip_flashing: SlipFlashing,
pub disc_slot_illumination: DiscSlotIllumination,
pub eject_lock: EjectLock,
pub sync: Sync,
pub play_mode: PlayMode,
pub quantize_beat_value: QuantizeBeatValue,
pub hotcue_autoload: HotCueAutoLoad,
pub hotcue_color: HotCueColor,
pub needle_lock: NeedleLock,
pub time_mode: TimeMode,
pub jog_mode: JogMode,
pub auto_cue: AutoCue,
pub master_tempo: MasterTempo,
pub tempo_range: TempoRange,
pub phase_meter: PhaseMeter,
/* private fields */
}Expand description
Payload of a MYSETTING.DAT file (40 bytes).
Fields§
§on_air_display: OnAirDisplay“ON AIR DISPLAY” setting.
lcd_brightness: LCDBrightness“LCD BRIGHTNESS” setting.
quantize: Quantize“QUANTIZE” setting.
auto_cue_level: AutoCueLevel“AUTO CUE LEVEL” setting.
language: Language“LANGUAGE” setting.
jog_ring_brightness: JogRingBrightness“JOG RING BRIGHTNESS” setting.
jog_ring_indicator: JogRingIndicator“JOG RING INDICATOR” setting.
slip_flashing: SlipFlashing“SLIP FLASHING” setting.
disc_slot_illumination: DiscSlotIllumination“DISC SLOT ILLUMINATION” setting.
eject_lock: EjectLock“EJECT/LOAD LOCK” setting.
sync: Sync“SYNC” setting.
play_mode: PlayMode“PLAY MODE / AUTO PLAY MODE” setting.
quantize_beat_value: QuantizeBeatValueQuantize Beat Value setting.
hotcue_autoload: HotCueAutoLoad“HOT CUE AUTO LOAD” setting.
hotcue_color: HotCueColor“HOT CUE COLOR” setting.
needle_lock: NeedleLock“NEEDLE LOCK” setting.
time_mode: TimeMode“TIME MODE” setting.
jog_mode: JogMode“TIME MODE” setting.
auto_cue: AutoCue“AUTO CUE” setting.
master_tempo: MasterTempo“MASTER TEMPO” setting.
tempo_range: TempoRange“TEMPO RANGE” setting.
phase_meter: PhaseMeter“PHASE METER” setting.
Trait Implementations§
Source§impl BinRead for MySetting
impl BinRead for MySetting
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments. Read moreSource§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader using the given arguments. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl BinWrite for MySetting
impl BinWrite for MySetting
Source§fn write_options<W: Write + Seek>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<()>
fn write_options<W: Write + Seek>( &self, __binrw_generated_var_writer: &mut W, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<()>
Source§fn write<W>(&self, writer: &mut W) -> Result<(), Error>
fn write<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer using default arguments. Read moreSource§fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming big-endian byte order. Read moreSource§fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming little-endian byte order. Read moreSource§fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming native-endian byte order. Read moreSource§fn write_args<W>(
&self,
writer: &mut W,
args: Self::Args<'_>,
) -> Result<(), Error>
fn write_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
Write
Self to the writer using the given arguments. Read moreSource§fn write_be_args<W>(
&self,
writer: &mut W,
args: Self::Args<'_>,
) -> Result<(), Error>
fn write_be_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
Write
Self to the writer, assuming big-endian byte order, using the
given arguments. Read moreimpl Eq for MySetting
Source§impl ReadEndian for MySetting
impl ReadEndian for MySetting
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
impl StructuralPartialEq for MySetting
Source§impl WriteEndian for MySetting
impl WriteEndian for MySetting
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
Auto Trait Implementations§
impl Forget for MySetting
impl Freeze for MySetting
impl Move for MySetting
impl RefUnwindSafe for MySetting
impl Send for MySetting
impl Sync for MySetting
impl Unpin for MySetting
impl UnsafeUnpin for MySetting
impl UnwindSafe for MySetting
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