Enum organelle::Constraint [] [src]

pub enum Constraint<S: Synapse> {
    One(S),
    Variadic(S),
}

constraints that can be put on axons for validation purposes

Variants

only accept one synapse

accept any number of synapses

Trait Implementations

Auto Trait Implementations

impl<S> Send for Constraint<S> where
    S: Send

impl<S> Sync for Constraint<S> where
    S: Sync