pub struct CanonSpec {
pub event_prefix: String,
pub onset: Time,
pub rationale: String,
pub license: StructuralLicense,
pub requirement: CanonSymmetryRequirement,
pub voices: Vec<CanonVoiceSpec>,
}Expand description
One planned canon request.
Fields§
§event_prefix: StringStable event-id prefix.
onset: TimeAbsolute canon onset.
rationale: StringStructural rationale shared by all voices.
license: StructuralLicenseStructural reading that licenses the canon.
requirement: CanonSymmetryRequirementRequired symmetry.
voices: Vec<CanonVoiceSpec>Voices participating in the canon.
Trait Implementations§
impl Eq for CanonSpec
impl StructuralPartialEq for CanonSpec
Auto Trait Implementations§
impl Freeze for CanonSpec
impl RefUnwindSafe for CanonSpec
impl Send for CanonSpec
impl Sync for CanonSpec
impl Unpin for CanonSpec
impl UnsafeUnpin for CanonSpec
impl UnwindSafe for CanonSpec
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