[][src]Enum oscen::signal::In

pub enum In {
    Cv(Tag),
    Fix(Real),
}

Inputs to synth modules can either be constant (Fix) or a control voltage from another synth module (Cv).

Variants

Cv(Tag)
Fix(Real)

Implementations

impl In[src]

pub fn val(rack: &Rack, inp: In) -> Real[src]

Get the signal value. Look it up in the rack if it is Cv.

Trait Implementations

impl Clone for In[src]

impl Copy for In[src]

impl Debug for In[src]

impl Default for In[src]

impl From<Uuid> for In[src]

impl From<f64> for In[src]

impl From<i32> for In[src]

Auto Trait Implementations

impl RefUnwindSafe for In

impl Send for In

impl Sync for In

impl Unpin for In

impl UnwindSafe for In

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,