Enum organelle::Constraint
[−]
[src]
pub enum Constraint<R> where
R: CellRole, {
RequireOne(R),
Variadic(R),
}
defines constraints on how connections can be made
Variants
RequireOne(R)
require one connection with the specified role
Variadic(R)
require any number of connections with the specified role
Trait Implementations
impl<R: Debug> Debug for Constraint<R> where
R: CellRole,
[src]
R: CellRole,
impl<R: Copy> Copy for Constraint<R> where
R: CellRole,
[src]
R: CellRole,
impl<R: Clone> Clone for Constraint<R> where
R: CellRole,
[src]
R: CellRole,
fn clone(&self) -> Constraint<R>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more