pub struct PerGen { /* private fields */ }
Implementations§
source§impl PerGen
impl PerGen
pub fn new(period: u16, generator: u16) -> Self
pub fn period(&self) -> u16
pub fn generator(&self) -> u16
pub fn num_cycles(&self) -> u16
pub fn num_steps_per_cycle(&self) -> u16
pub fn get_generation(&self, index: u16) -> Generation
pub fn get_accidentals( &self, format: &AccidentalsFormat, index: u16 ) -> Accidentals
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PerGen
impl Send for PerGen
impl Sync for PerGen
impl Unpin for PerGen
impl UnwindSafe for PerGen
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