Struct piston_meta::meta_rules::UntilAnyOrWhitespace [] [src]

pub struct UntilAnyOrWhitespace {
    pub any_characters: Arc<String>,
    pub optional: bool,
    pub property: Option<Arc<String>>,
    pub debug_id: DebugId,
}

Stores information about reading until whitespace or any of some character.

Fields

The characters to stop at.

Whether empty data is accepted or not.

The property to store read text.

A debug id to track down the rule generating an error.

Methods

impl UntilAnyOrWhitespace
[src]

Parses until whitespace or any specified characters.

Trait Implementations

impl Clone for UntilAnyOrWhitespace
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for UntilAnyOrWhitespace
[src]

Formats the value using the given formatter.

impl PartialEq for UntilAnyOrWhitespace
[src]

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

This method tests for !=.