pub struct Bank {
pub name: &'static str,
pub first: u16,
pub len: u16,
pub writable: bool,
}Expand description
A run of program slots, numbered from first.
Fields§
§name: &'static strThe bank’s name, as the synth shows it (“U1”).
first: u16The number of the bank’s first slot.
len: u16How many slots the bank has.
writable: boolFalse for factory/ROM banks Oscyl must never write.
Trait Implementations§
impl Copy for Bank
impl Eq for Bank
impl StructuralPartialEq for Bank
Auto Trait Implementations§
impl Freeze for Bank
impl RefUnwindSafe for Bank
impl Send for Bank
impl Sync for Bank
impl Unpin for Bank
impl UnsafeUnpin for Bank
impl UnwindSafe for Bank
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