Enum organelle::Constraint [] [src]

pub enum Constraint<R> where
    R: CellRole
{ RequireOne(R), Variadic(R), }

defines constraints on how connections can be made

Variants

require one connection with the specified role

require any number of connections with the specified role

Trait Implementations

impl<R: Debug> Debug for Constraint<R> where
    R: CellRole
[src]

[src]

Formats the value using the given formatter.

impl<R: Copy> Copy for Constraint<R> where
    R: CellRole
[src]

impl<R: Clone> Clone for Constraint<R> where
    R: CellRole
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more