Struct piston_meta::meta_rules::Text [] [src]

pub struct Text {
    pub allow_empty: bool,
    pub property: Option<Arc<String>>,
    pub debug_id: DebugId,
}

Stores information about text.

Fields

Whether to allow empty string.

Which property to set if text is read.

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

Methods

impl Text
[src]

Parses text.

Trait Implementations

impl Clone for Text
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Text
[src]

Formats the value using the given formatter.

impl PartialEq for Text
[src]

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

This method tests for !=.