pub enum PairOp {
Min,
Max,
And,
Or,
Xor,
Switch,
}Expand description
A binary CV combiner over two modulation terms. Index order matches the
#pairop categorical.
None of the six takes a continuous parameter, which is what keeps
#pairop cheap: a Pair costs its two subterms and one categorical.
Variants§
Min
Lower of the two (Min).
Max
Higher of the two (Max).
And
Gate AND (LogicAnd).
Or
Gate OR (LogicOr).
Xor
Gate XOR (LogicXor).
Switch
b while b is above the gate threshold, a otherwise (VcSwitch).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PairOp
impl<'de> Deserialize<'de> for PairOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for PairOp
impl Eq for PairOp
impl StructuralPartialEq for PairOp
Auto Trait Implementations§
impl Freeze for PairOp
impl RefUnwindSafe for PairOp
impl Send for PairOp
impl Sync for PairOp
impl Unpin for PairOp
impl UnsafeUnpin for PairOp
impl UnwindSafe for PairOp
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