Enum uml_parser::UMLToken [] [src]

pub enum UMLToken {
    StartUML,
    EndUML,
    Note {
        position: String,
        text: String,
    },
    Parallel {
        sequences: Vec<UMLTokens>,
    },
    Message {
        from: String,
        to: String,
        text: Option<String>,
        colour: Option<String>,
    },
    Participant {
        long_name: Option<String>,
        short_name: String,
    },
    Activate {
        name: String,
    },
    Deactivate {
        name: String,
    },
    Loop {
        sequence: UMLTokens,
        count: u8,
    },
    Include {
        file: String,
        sequence: UMLTokens,
    },
    Box {
        name: String,
        sequence: UMLTokens,
    },
    Destroy {
        name: String,
    },
    Delay {
        text: String,
    },
    Alt {
        sequences: Vec<UMLTokens>,
    },
}

Tokens that represent each of the elements of UML that are supported.

Variants

Fields of Note

Fields of Parallel

Fields of Message

Fields of Participant

Fields of Activate

Fields of Deactivate

Fields of Loop

Fields of Include

Fields of Box

Fields of Destroy

Fields of Delay

Fields of Alt

Trait Implementations

impl Display for UMLToken
[src]

Formats the value using the given formatter. Read more

impl Debug for UMLToken
[src]

Formats the value using the given formatter.

impl Clone for UMLToken
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for UMLToken
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.