pub struct ForteFact {
pub label: &'static str,
pub cardinality: u8,
pub ordinal: u8,
pub prime: Vec<PitchClass>,
}Expand description
A derived Forte-compatible fact for a pitch-set class.
Fields§
§label: &'static strForte set-class label when this crate carries a named example for it.
cardinality: u8Cardinality of the set class.
ordinal: u8Ordinal part of the Forte label.
prime: Vec<PitchClass>Prime form associated with this fact.
Trait Implementations§
impl Eq for ForteFact
impl StructuralPartialEq for ForteFact
Auto Trait Implementations§
impl Freeze for ForteFact
impl RefUnwindSafe for ForteFact
impl Send for ForteFact
impl Sync for ForteFact
impl Unpin for ForteFact
impl UnsafeUnpin for ForteFact
impl UnwindSafe for ForteFact
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