pub enum Mutability {
Free,
Restricted,
Fixed,
}Expand description
What generation may do to a field.
Variants§
Free
Generation, vary and breed may set it.
Restricted
Generation keeps it: the base program’s value (init’s without a
base); vary leaves it; breed takes parent a’s. Tuning, MIDI and
performance settings.
Fixed
Never changed by generate (with a base), vary or breed: metadata set by the synth or the user, such as a loaded user unit’s parameter types.
Trait Implementations§
Source§impl Clone for Mutability
impl Clone for Mutability
impl Copy for Mutability
Source§impl Debug for Mutability
impl Debug for Mutability
impl Eq for Mutability
Source§impl PartialEq for Mutability
impl PartialEq for Mutability
impl StructuralPartialEq for Mutability
Auto Trait Implementations§
impl Freeze for Mutability
impl RefUnwindSafe for Mutability
impl Send for Mutability
impl Sync for Mutability
impl Unpin for Mutability
impl UnsafeUnpin for Mutability
impl UnwindSafe for Mutability
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