Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Structs StateTransition

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
module juptune.core.util.statemachine;

struct StateTransition(
    alias StateEnum, 
    alias TransitionContext
)
{
    /++ ALIASES ++/
    
    ///
    alias IsAllowed = bool function(TransitionContext);
    
    /++ FUNCTIONS ++/
    
    ///
    bool isAllowedSafe(TransitionContext context);
    
    /++ VARIABLES ++/
    
    ///
    StateEnum from;
    ///
    IsAllowed isAllowed;
    ///
    StateEnum to;
}

Aliases

Name Description
IsAllowed

Functions

Name Description
isAllowedSafe

Variables

Name Description
from
isAllowed
to