pub struct Channel1State {Show 13 fields
pub note: Note,
pub sharp: bool,
pub octave: u8,
pub duty: u8,
pub length: u8,
pub envelope_initial_volume: u8,
pub envelope_argument: u8,
pub envelope_increase: bool,
pub enable_length: bool,
pub initial: bool,
pub sweep_time: u8,
pub sweep_increase: bool,
pub sweep_number: u8,
}
Expand description
Represents the state of channel 1
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 alignment of pointer.
The type for initializers.
Initializes a with the given initializer.
Read more
Mutably dereferences the given pointer.
Read more
Drops the object pointed to by the given pointer.
Read more
Sets value
as a parameter of self
.
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.