Struct piston_meta::meta_rules::Number [] [src]

pub struct Number {
    pub property: Option<Arc<String>>,
    pub debug_id: DebugId,
    pub allow_underscore: bool,
}

Contains information about number.

Fields

The property to set.

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

Whether underscore is allowed as visible separator.

Methods

impl Number
[src]

Parses number.

Trait Implementations

impl Clone for Number
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Number
[src]

Formats the value using the given formatter.

impl PartialEq for Number
[src]

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

This method tests for !=.