#[repr(C, packed)]
pub struct Voice { pub frequency: WO<u16>, pub pulse_width: WO<u16>, pub control: WO<VoiceControlFlags>, pub attack_decay: WO<u8>, pub sustain_release: WO<u8>, }
Expand description

Registers for a single SID voice/channel

Fields

frequency: WO<u16>pulse_width: WO<u16>control: WO<VoiceControlFlags>attack_decay: WO<u8>sustain_release: WO<u8>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.