pub enum DeterminismPolicy {
Deterministic,
Seeded,
LiveInput,
}Expand description
How reproducible a component’s output is.
Carried in a MusicComponentDescriptor to declare whether output is
fixed, seed-driven, or dependent on live input.
Variants§
Deterministic
Output is fully determined by the inputs.
Seeded
Output is reproducible given a seed.
LiveInput
Output depends on live input and is not reproducible.
Implementations§
Trait Implementations§
Source§impl Clone for DeterminismPolicy
impl Clone for DeterminismPolicy
Source§fn clone(&self) -> DeterminismPolicy
fn clone(&self) -> DeterminismPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeterminismPolicy
Source§impl Debug for DeterminismPolicy
impl Debug for DeterminismPolicy
impl Eq for DeterminismPolicy
Source§impl Hash for DeterminismPolicy
impl Hash for DeterminismPolicy
Source§impl Ord for DeterminismPolicy
impl Ord for DeterminismPolicy
Source§fn cmp(&self, other: &DeterminismPolicy) -> Ordering
fn cmp(&self, other: &DeterminismPolicy) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DeterminismPolicy
impl PartialEq for DeterminismPolicy
Source§impl PartialOrd for DeterminismPolicy
impl PartialOrd for DeterminismPolicy
impl StructuralPartialEq for DeterminismPolicy
Auto Trait Implementations§
impl Freeze for DeterminismPolicy
impl RefUnwindSafe for DeterminismPolicy
impl Send for DeterminismPolicy
impl Sync for DeterminismPolicy
impl Unpin for DeterminismPolicy
impl UnsafeUnpin for DeterminismPolicy
impl UnwindSafe for DeterminismPolicy
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